summaryrefslogtreecommitdiff
path: root/macosx/main.m
diff options
context:
space:
mode:
authorSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-06-06 23:12:44 +0000
committerSND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2014-06-06 23:12:44 +0000
commit27079ceb9a031f63d2285ffb7cf5aff35112d8e2 (patch)
treedfef6a379375c8bff6a226dcf29b51d9b757488b /macosx/main.m
parent3bd0bcc5dfe1777a2446a897f170f4c5971baa83 (diff)
downloadpcsxr-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-xmacosx/main.m3
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];
}