1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-17 20:13:07 +01:00

use Console::WriteLine instead of log_info

This commit is contained in:
Ted John
2016-05-25 20:26:12 +01:00
committed by Michał Janiszewski
parent 5bc99d2006
commit d62c94f14a
3 changed files with 16 additions and 8 deletions

View File

@@ -55,9 +55,14 @@ namespace Console
puts("");
}
void WriteLine(const utf8 * str)
void WriteLine(const utf8 * format, ...)
{
puts(str);
va_list args;
va_start(args, format);
vfprintf(stdout, format, args);
puts("");
va_end(args);
}
namespace Error