diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-06-06 23:12:44 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-06-06 23:12:44 +0000 |
| commit | 27079ceb9a031f63d2285ffb7cf5aff35112d8e2 (patch) | |
| tree | dfef6a379375c8bff6a226dcf29b51d9b757488b /macosx/main.m | |
| parent | 3bd0bcc5dfe1777a2446a897f170f4c5971baa83 (diff) | |
| download | pcsxr-27079ceb9a031f63d2285ffb7cf5aff35112d8e2.tar.gz | |
OS X: minor code changes and improvements.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90607 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/main.m')
| -rwxr-xr-x | macosx/main.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/main.m b/macosx/main.m index ec00387f..33f74908 100755 --- a/macosx/main.m +++ b/macosx/main.m @@ -305,8 +305,7 @@ void OnFile_Exit() char* Pcsxr_locale_text(char* toloc) { - NSBundle *mainBundle = [NSBundle mainBundle]; NSString *origString = @(toloc), *transString = nil; - transString = [mainBundle localizedStringForKey:origString value:@"" table:nil]; + transString = [[NSBundle mainBundle] localizedStringForKey:origString value:@"" table:nil]; return (char*)[transString UTF8String]; } |
