fix kernel32 codepage winetest

svn path=/trunk/; revision=38980
This commit is contained in:
Christoph von Wittich 2009-01-20 16:27:05 +00:00
parent 3240148b13
commit e6d7f59aa5

View file

@ -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;