diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-08-17 11:54:41 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-17 11:54:41 +1000 |
| commit | 0a7265f807dac4cca011120666f76b004b289451 (patch) | |
| tree | 0cc658a482d4dd993509a6578e3ac0d1223d4eda /Source/Core/Common/StringUtil.cpp | |
| parent | 181d79228ab811b711c0cc87c62988d222c389d7 (diff) | |
| parent | e67eb4693e7d8354a42db016e84b56af9308a476 (diff) | |
Merge pull request #8315 from CookiePLMonster/conformance-fixes
Conformance fixes
Diffstat (limited to 'Source/Core/Common/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/StringUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index c85e4ae227..7955c81fdf 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -483,7 +483,7 @@ std::string UTF16ToCP(u32 code_page, std::wstring_view input) output.resize(size); if (size != WideCharToMultiByte(code_page, 0, input.data(), static_cast<int>(input.size()), - &output[0], static_cast<int>(output.size()), nullptr, false)) + &output[0], static_cast<int>(output.size()), nullptr, nullptr)) { const DWORD error_code = GetLastError(); ERROR_LOG(COMMON, "WideCharToMultiByte Error in String '%s': %lu", |
