- mbstowcs: Fix incorrect size passed as the second parameter for call to RtlMultiByteToUnicodeN.
Fixes loading assemblies when manifest is in a manifest file due to parsing failure.

svn path=/trunk/; revision=47527
This commit is contained in:
Michael Martin 2010-06-02 23:58:28 +00:00
parent 8f37e32fd6
commit f6d5918b31

View file

@ -47,7 +47,7 @@ size_t mbstowcs (wchar_t *wcstr, const char *mbstr, size_t count)
}
Status = RtlMultiByteToUnicodeN (wcstr,
count,
count * sizeof(WCHAR),
&Size,
mbstr,
Length);