@@ -148,11 +148,11 @@ @"\nRuntime error: Unhandled exception:\n%@\n", e]; OFString *backtrace = [OFString stringWithFormat: @"\nBacktrace:\n %@\n\n", [[e backtrace] componentsJoinedByString: @"\n "]]; - of_stdout.foregroundColor = [OFColor red]; + [of_stdout setForegroundColor: [OFColor red]]; [of_stdout writeString: string]; [of_stdout writeString: backtrace]; # if defined(OF_WII) [of_stdout reset]; @@ -203,21 +203,21 @@ @implementation TestsAppDelegate - (void)outputTesting: (OFString *)test inModule: (OFString *)module { if (of_stdout.hasTerminal) { - of_stdout.foregroundColor = [OFColor yellow]; + [of_stdout setForegroundColor: [OFColor yellow]]; [of_stdout writeFormat: @"[%@] %@: testing...", module, test]; } else [of_stdout writeFormat: @"[%@] %@: ", module, test]; } - (void)outputSuccess: (OFString *)test inModule: (OFString *)module { if (of_stdout.hasTerminal) { - of_stdout.foregroundColor = [OFColor lime]; + [of_stdout setForegroundColor: [OFColor lime]]; [of_stdout eraseLine]; [of_stdout writeFormat: @"\r[%@] %@: ok\n", module, test]; } else [of_stdout writeLine: @"ok"]; } @@ -224,11 +224,11 @@ - (void)outputFailure: (OFString *)test inModule: (OFString *)module { if (of_stdout.hasTerminal) { - of_stdout.foregroundColor = [OFColor red]; + [of_stdout setForegroundColor: [OFColor red]]; [of_stdout eraseLine]; [of_stdout writeFormat: @"\r[%@] %@: failed\n", module, test]; #ifdef OF_WII [of_stdout reset];