mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
fix kernel32 codepage winetest
svn path=/trunk/; revision=38980
This commit is contained in:
parent
3240148b13
commit
e6d7f59aa5
|
@ -493,7 +493,10 @@ IntMultiByteToWideCharCP(UINT CodePage,
|
|||
}
|
||||
|
||||
if (MultiByteString < MbsEnd)
|
||||
{
|
||||
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||
return 0;
|
||||
}
|
||||
|
||||
return Count;
|
||||
}
|
||||
|
@ -525,6 +528,7 @@ IntMultiByteToWideCharCP(UINT CodePage,
|
|||
{
|
||||
MultiByteCount = WideCharCount;
|
||||
SetLastError(ERROR_INSUFFICIENT_BUFFER);
|
||||
return 0;
|
||||
}
|
||||
|
||||
for (TempLength = MultiByteCount;
|
||||
|
|
Loading…
Reference in a new issue