diff --git a/dlls/ntdll/printf.c b/dlls/ntdll/printf.c index 0a27f7e0801..49d39833ec7 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; }