win32: yabf

This commit is contained in:
Flyinghead 2019-06-30 21:54:37 +02:00
parent 20bff396c3
commit 5881791817
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ std::wstring CPToUTF16(u32 code_page, const std::string& input)
std::string UTF16ToCP(u32 code_page, const std::wstring& input)
{
bool usedDefaultChar;
int usedDefaultChar;
auto const size = WideCharToMultiByte(code_page, 0, input.data(), static_cast<int>(input.size()),
nullptr, 0, nullptr, &usedDefaultChar);