Commit bfb63235 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: work-around crash in stringWithFormat when using the Japanese locale

Fixes #4952
parent 87529928
...@@ -100,7 +100,7 @@ static VLAboutBox *_o_sharedInstance = nil; ...@@ -100,7 +100,7 @@ static VLAboutBox *_o_sharedInstance = nil;
#else #else
compiler = [NSString stringWithFormat:@"gcc %s", __VERSION__]; compiler = [NSString stringWithFormat:@"gcc %s", __VERSION__];
#endif #endif
[o_revision_field setStringValue: [NSString stringWithFormat: _NS("Compiled by %s with %@"), VLC_CompileBy(), compiler]]; [o_revision_field setStringValue: [NSString stringWithFormat: _NS("Compiled by %@ with %@"), [NSString stringWithUTF8String:VLC_CompileBy()], compiler]];
/* Setup the nameversion field */ /* Setup the nameversion field */
[o_name_version_field setStringValue: [NSString stringWithFormat:@"Version %s (%s)", VERSION_MESSAGE, PLATFORM]]; [o_name_version_field setStringValue: [NSString stringWithFormat:@"Version %s (%s)", VERSION_MESSAGE, PLATFORM]];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment