os/macosx/macos.m
changeset 2741 011462ebb67b
parent 2736 1ea068235989
child 2827 61e2ac8b0801
--- 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" );