Commit 45b94449 authored by John K. Hohm's avatar John K. Hohm Committed by Alexandre Julliard

Fix msvcrt._vsnwprintf format reading bug like NTDLL_vsnwprintf.

parent 70b93e30
...@@ -177,10 +177,7 @@ int _vsnwprintf(WCHAR *str, unsigned int len, ...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment