mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
Hopefully fix a MultiByteToWideChar issue with UTF8.
svn path=/trunk/; revision=57530
This commit is contained in:
@@ -359,7 +359,7 @@ IntMultiByteToWideCharUTF8(DWORD Flags,
|
||||
WCHAR WideChar;
|
||||
LONG Count;
|
||||
|
||||
if (Flags != 0)
|
||||
if (Flags != 0 && Flags != MB_ERR_INVALID_CHARS)
|
||||
{
|
||||
SetLastError(ERROR_INVALID_FLAGS);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user