summaryrefslogtreecommitdiff
path: root/src/debug.cpp
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2021-04-02 18:35:00 +0200
committerNiels Martin Hansen <nielsm@indvikleren.dk>2021-04-07 09:31:47 +0200
commit746f1ca11a18af97e4fed06e5ac1af622bf21d35 (patch)
treef8d9ef3b48b570d3b6827f19092c92e3acf74e6e /src/debug.cpp
parente0561dbded57f195e7842cf69764e3ee2c3a71da (diff)
downloadopenttd-746f1ca11a18af97e4fed06e5ac1af622bf21d35.tar.xz
Codechange: Remove the now meaningless console_cp parameter from OTTD2FS
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index eb8dc5d4f..25a0f1a82 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -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);