diff options
| author | QuellaZhang <> | 2019-08-15 17:49:57 +0200 |
|---|---|---|
| committer | Silent <zdanio95@gmail.com> | 2019-08-15 17:49:57 +0200 |
| commit | e67eb4693e7d8354a42db016e84b56af9308a476 (patch) | |
| tree | 0cc658a482d4dd993509a6578e3ac0d1223d4eda /Source/Core/Common/StringUtil.cpp | |
| parent | a35f540e7a8ffbf26c10b22660f1c2d0821f7228 (diff) | |
Fix implicit false-to-nullptr conversions
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", |
