diff --git a/dlls/ntdll/printf.c b/dlls/ntdll/printf.c index 0a27f7e080174ceecd93e33854ef24c1850dfbe3..49d39833ec7f8cb98600a1de96b71d9b0b85be87 100644 --- a/dlls/ntdll/printf.c +++ b/dlls/ntdll/printf.c @@ -137,7 +137,7 @@ static inline int pf_output_stringA( pf_output *out, LPCSTR str, int len ) return len; } if (space > 0) RtlMultiByteToUnicodeN( p, space * sizeof(WCHAR), NULL, str, len ); - out->used += n; + out->used += n / sizeof(WCHAR); } return -1; }