diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-09 11:37:29 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-09 11:37:29 -0400 |
| commit | b5eea413c496d40838af258e533e514212081909 (patch) | |
| tree | b0bc8007510497aff8ee800ead4432821fe64656 | |
| parent | 79a7e18b8da55b4bcec72cc66f9b4e07878e7eee (diff) | |
Fixed a runtime parameters bug in the previous commit.
| -rw-r--r-- | new/text_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/new/text_windows.c b/new/text_windows.c index 4f5b741..df36f57 100644 --- a/new/text_windows.c +++ b/new/text_windows.c @@ -17,7 +17,7 @@ WCHAR *toUTF16(const char *str) return wstr; } -#define WCTMB(wstr, str, bufsiz) WideCharToMultiByte(CP_UTF8, WC_NO_BEST_FIT_CHARS, wstr, -1, str, bufsiz, NULL, FALSE) +#define WCTMB(wstr, str, bufsiz) WideCharToMultiByte(CP_UTF8, 0, wstr, -1, str, bufsiz, NULL, FALSE) char *toUTF8(const WCHAR *wstr) { |
