diff options
author | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:47 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-08-05 20:36:47 +0000 |
commit | e3648455aa6dba0954c872389f7c7ee3a9a99676 (patch) | |
tree | 3fd72c54d3e6e586e9a74fc93aa08996e7eaba6c /src/os/windows/win32.h | |
parent | e37968aadd8c14d15d49b90754a69126bdf674e7 (diff) | |
download | openttd-e3648455aa6dba0954c872389f7c7ee3a9a99676.tar.xz |
(svn r25674) -Fix: [Win32] The console code page for non-Unicode builds is not the normal ANSI code page and definitely not UTF-8 either.
Diffstat (limited to 'src/os/windows/win32.h')
-rw-r--r-- | src/os/windows/win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/windows/win32.h b/src/os/windows/win32.h index d0eb371aa..f4b03d970 100644 --- a/src/os/windows/win32.h +++ b/src/os/windows/win32.h @@ -19,7 +19,7 @@ typedef void (*Function)(int); bool LoadLibraryList(Function proc[], const char *dll); char *convert_from_fs(const TCHAR *name, char *utf8_buf, size_t buflen); -TCHAR *convert_to_fs(const char *name, TCHAR *utf16_buf, size_t buflen); +TCHAR *convert_to_fs(const char *name, TCHAR *utf16_buf, size_t buflen, bool console_cp = false); /* Function shortcuts for UTF-8 <> UNICODE conversion. When unicode is not * defined these macros return the string passed to them, with UNICODE |