diff options
author | bjarni <bjarni@openttd.org> | 2005-12-10 23:03:59 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-12-10 23:03:59 +0000 |
commit | 1adc1738f71db328568a830e384185bd47c4a0fe (patch) | |
tree | 4799043dc3a50980134763ad405adda574693d1f /os/macosx/macos.m | |
parent | ad756fff551aa1e63a6a54e382bad12adf901a5e (diff) | |
download | openttd-1adc1738f71db328568a830e384185bd47c4a0fe.tar.xz |
(svn r3286) -Fix: [OSX] 10.2 works again and universal binaries got 10.2 as target by default
Diffstat (limited to 'os/macosx/macos.m')
-rw-r--r-- | os/macosx/macos.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/macosx/macos.m b/os/macosx/macos.m index 6c5fa8791..ee791166a 100644 --- a/os/macosx/macos.m +++ b/os/macosx/macos.m @@ -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" ); |