24 # define MB_TO_WIDE(str) OTTD2FS(str) |
24 # define MB_TO_WIDE(str) OTTD2FS(str) |
25 # define MB_TO_WIDE_BUFFER(str, buffer, buflen) convert_to_fs(str, buffer, buflen) |
25 # define MB_TO_WIDE_BUFFER(str, buffer, buflen) convert_to_fs(str, buffer, buflen) |
26 # define WIDE_TO_MB(str) FS2OTTD(str) |
26 # define WIDE_TO_MB(str) FS2OTTD(str) |
27 # define WIDE_TO_MB_BUFFER(str, buffer, buflen) convert_from_fs(str, buffer, buflen) |
27 # define WIDE_TO_MB_BUFFER(str, buffer, buflen) convert_from_fs(str, buffer, buflen) |
28 #else |
28 #else |
|
29 extern uint _codepage; // local code-page in the system @see win32_v.cpp:WM_INPUTLANGCHANGE |
29 # define MB_TO_WIDE(str) (str) |
30 # define MB_TO_WIDE(str) (str) |
30 # define MB_TO_WIDE_BUFFER(str, buffer, buflen) (str) |
31 # define MB_TO_WIDE_BUFFER(str, buffer, buflen) (str) |
31 # define WIDE_TO_MB(str) (str) |
32 # define WIDE_TO_MB(str) (str) |
32 # define WIDE_TO_MB_BUFFER(str, buffer, buflen) (str) |
33 # define WIDE_TO_MB_BUFFER(str, buffer, buflen) (str) |
33 #endif |
34 #endif |