mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2024-11-10 07:21:58 +00:00
PL_ErrorDialog: fix clang warning about format string not a literal
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@1450 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
0a5cd3c2ad
commit
3d594fc4d4
1 changed files with 1 additions and 1 deletions
|
@ -72,6 +72,6 @@ void PL_ErrorDialog(const char *errorMsg)
|
|||
#else
|
||||
NSString* msg = [NSString stringWithCString:errorMsg encoding:NSASCIIStringEncoding];
|
||||
#endif
|
||||
NSRunCriticalAlertPanel (@"Quake Error", msg, @"OK", nil, nil);
|
||||
NSRunCriticalAlertPanel (@"Quake Error", @"%@", @"OK", nil, nil, msg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue