@@ -146,11 +146,11 @@ @try { return of_application_main(&argc, &argv, [[TestsAppDelegate alloc] init]); } @catch (id e) { TestsAppDelegate *delegate = - [[OFApplication sharedApplication] delegate]; + [OFApplication sharedApplication].delegate; OFString *string = [OFString stringWithFormat: @"\nRuntime error: Unhandled exception:\n%@\n", e]; OFString *backtrace = [OFString stringWithFormat: @"\nBacktrace:\n %@\n\n", [[e backtrace] componentsJoinedByString: @"\n "]]; @@ -228,11 +228,11 @@ pspDebugScreenSetTextColor(0x00FFFF); break; } pspDebugScreenSetXY(0, y); - pspDebugScreenPrintData([str UTF8String], [str UTF8StringLength]); + pspDebugScreenPrintData(str.UTF8String, str.UTF8StringLength); #elif defined(STDOUT) switch (color) { case NO_COLOR: [of_stdout writeString: @"\r\033[K"]; # if defined(OF_WII) || defined(OF_NINTENDO_DS)