diff options
author | Niels Martin Hansen <nielsm@indvikleren.dk> | 2021-02-21 20:48:21 +0100 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2021-02-23 11:25:39 +0100 |
commit | b427ddce887617f17aefdbe1f22ca1e00d013c3d (patch) | |
tree | 06fd938bd05dd716ba2d573978789f2c8e068505 /src/debug.cpp | |
parent | beeb9e0a1b1c6ceb61499edeb8cd6cf7999d12ea (diff) | |
download | openttd-b427ddce887617f17aefdbe1f22ca1e00d013c3d.tar.xz |
Codechange: Switch to explicit wide strings
Diffstat (limited to 'src/debug.cpp')
-rw-r--r-- | src/debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug.cpp b/src/debug.cpp index ded6bf1cc..e54d931ad 100644 --- a/src/debug.cpp +++ b/src/debug.cpp @@ -134,7 +134,7 @@ static void debug_print(const char *dbg, const char *buf) char buffer[512]; seprintf(buffer, lastof(buffer), "%sdbg: [%s] %s\n", GetLogPrefix(), dbg, buf); #if defined(_WIN32) - TCHAR system_buf[512]; + wchar_t system_buf[512]; convert_to_fs(buffer, system_buf, lengthof(system_buf), true); _fputts(system_buf, stderr); #else |