mirror of
https://github.com/dhewm/dhewm3.git
synced 2025-01-19 16:00:52 +00:00
Update Mac source
Remove the rsrc file (unused) -[NSString cString] is deprecated. Use -[NSString UTF8String] instead.
This commit is contained in:
parent
636c3a0b54
commit
88559af603
2 changed files with 1 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 10 KiB |
|
@ -76,5 +76,5 @@ const char* OSX_GetLocalizedString( const char* key )
|
||||||
{
|
{
|
||||||
NSString *string = [ [ NSBundle mainBundle ] localizedStringForKey:[ NSString stringWithCString: key ]
|
NSString *string = [ [ NSBundle mainBundle ] localizedStringForKey:[ NSString stringWithCString: key ]
|
||||||
value:@"No translation" table:nil];
|
value:@"No translation" table:nil];
|
||||||
return [string cString];
|
return [string UTF8String];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue