diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-03-03 00:15:09 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-03-03 00:15:09 +0000 |
| commit | f9a250d60e621b63cc77d432f42ae700ff3e249b (patch) | |
| tree | 44cdcb369bb0e6b1b5b6c0055c9c60d7f06e9bfa /macosx/plugins/DFCdrom/macsrc/PluginConfigController.m | |
| parent | 585bb1ecb49bda5c3ec1112df67474922c2cc04e (diff) | |
| download | pcsxr-f9a250d60e621b63cc77d432f42ae700ff3e249b.tar.gz | |
Make OS X's localization implementation functions match the signature of gettext.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83305 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'macosx/plugins/DFCdrom/macsrc/PluginConfigController.m')
| -rwxr-xr-x | macosx/plugins/DFCdrom/macsrc/PluginConfigController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m index b510eead..5e79fe63 100755 --- a/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m +++ b/macosx/plugins/DFCdrom/macsrc/PluginConfigController.m @@ -157,12 +157,12 @@ void ReadConfig() @end -const char* PLUGLOC(char *toloc) +char* PLUGLOC(char *toloc) { NSBundle *mainBundle = [NSBundle bundleForClass:[PluginConfigController class]]; NSString *origString = nil, *transString = nil; origString = [NSString stringWithCString:toloc encoding:NSUTF8StringEncoding]; transString = [mainBundle localizedStringForKey:origString value:nil table:nil]; - return [transString cStringUsingEncoding:NSUTF8StringEncoding]; + return (char*)[transString cStringUsingEncoding:NSUTF8StringEncoding]; } |
