Fixed a runtime parameters bug in the previous commit.

This commit is contained in:
Pietro Gagliardi 2015-04-09 11:37:29 -04:00
parent 79a7e18b8d
commit b5eea413c4
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{