Fix msvcrt._vsnwprintf format reading bug like NTDLL_vsnwprintf.
This commit is contained in:
parent
70b93e30f3
commit
45b94449e6
|
@ -177,10 +177,7 @@ int _vsnwprintf(WCHAR *str, unsigned int len,
|
||||||
}
|
}
|
||||||
if (*iter == (WCHAR)L'h' ||
|
if (*iter == (WCHAR)L'h' ||
|
||||||
*iter == (WCHAR)L'l')
|
*iter == (WCHAR)L'l')
|
||||||
{
|
|
||||||
*fmta++ = *iter++;
|
*fmta++ = *iter++;
|
||||||
*fmta++ = *iter++;
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (*iter)
|
switch (*iter)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue