mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:03:00 +00:00
Hopefully fix a MultiByteToWideChar issue with UTF8.
svn path=/trunk/; revision=57530
This commit is contained in:
parent
335fb884d4
commit
1e497aedf1
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ IntMultiByteToWideCharUTF8(DWORD Flags,
|
||||||
WCHAR WideChar;
|
WCHAR WideChar;
|
||||||
LONG Count;
|
LONG Count;
|
||||||
|
|
||||||
if (Flags != 0)
|
if (Flags != 0 && Flags != MB_ERR_INVALID_CHARS)
|
||||||
{
|
{
|
||||||
SetLastError(ERROR_INVALID_FLAGS);
|
SetLastError(ERROR_INVALID_FLAGS);
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue