Commit 661212b5 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

ntdll: Fix incorrect value added to out->used in pf_output_stringA.

parent d506e59d
......@@ -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;
}
......
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