mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Fix implicit false-to-nullptr conversions
This commit is contained in:
@ -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",
|
||||
|
Reference in New Issue
Block a user