forked from mirror/OpenTTD
(svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default
This commit is contained in:
@@ -17,7 +17,7 @@ void ShowMacAssertDialog ( const char *function, const char *file, const int lin
|
||||
{
|
||||
const char *buffer =
|
||||
[[NSString stringWithFormat:@"An assertion has failed and OpenTTD must quit.\n%s in %s (line %d)\n\"%s\"\n\nYou should report this error the OpenTTD developers if you think you found a bug.",
|
||||
function, file, line, expression] cStringUsingEncoding:NSASCIIStringEncoding];
|
||||
function, file, line, expression] cString];
|
||||
NSLog(@"%s", buffer);
|
||||
ShowMacDialog( "Assertion Failed", buffer, "Quit" );
|
||||
|
||||
|
Reference in New Issue
Block a user