From 55e86011922dc19cc1cf208a1600d062ca3d8b27 Mon Sep 17 00:00:00 2001 From: magiblot Date: Sun, 9 Feb 2020 15:51:30 +0100 Subject: [PATCH] Fix another implicit false-to-nullptr conversion --- Source/Core/Common/StringUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(input.size()), nullptr, 0, nullptr, false); + code_page, 0, input.data(), static_cast(input.size()), nullptr, 0, nullptr, nullptr); output.resize(size);