--- a/os/macosx/macos.m Sat Dec 10 18:50:07 2005 +0000
+++ b/os/macosx/macos.m Sat Dec 10 23:03:59 2005 +0000
@@ -17,7 +17,7 @@
{
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" );