Codechange: Remove the now meaningless console_cp parameter from OTTD2FS

This commit is contained in:
Niels Martin Hansen
2021-04-02 18:35:00 +02:00
parent e0561dbded
commit 746f1ca11a
6 changed files with 15 additions and 15 deletions

View File

@@ -133,7 +133,7 @@ static void debug_print(const char *dbg, const char *buf)
seprintf(buffer, lastof(buffer), "%sdbg: [%s] %s\n", GetLogPrefix(), dbg, buf);
#if defined(_WIN32)
wchar_t system_buf[512];
convert_to_fs(buffer, system_buf, lengthof(system_buf), true);
convert_to_fs(buffer, system_buf, lengthof(system_buf));
fputws(system_buf, stderr);
#else
fputs(buffer, stderr);