diff options
| author | magiblot <magiblot@hotmail.com> | 2020-02-09 15:51:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-09 15:51:30 +0100 |
| commit | 55e86011922dc19cc1cf208a1600d062ca3d8b27 (patch) | |
| tree | a8d5b22bf5a940c28192d2394d9e31ad9b32c550 /Source/Core/Common/StringUtil.cpp | |
| parent | aa21fe17b8f13f2876b9cf8869f3af9487235827 (diff) | |
Fix another implicit false-to-nullptr conversion
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 ac7e32efcf..3afb09873f 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -433,7 +433,7 @@ std::string UTF16ToCP(u32 code_page, std::wstring_view input) { // "If cchWideChar [input buffer size] is set to 0, the function fails." -MSDN auto const size = WideCharToMultiByte( - code_page, 0, input.data(), static_cast<int>(input.size()), nullptr, 0, nullptr, false); + code_page, 0, input.data(), static_cast<int>(input.size()), nullptr, 0, nullptr, nullptr); output.resize(size); |
