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

This commit is contained in:
Sebastian Lackner 2013-12-20 05:54:09 +01:00 committed by Alexandre Julliard
parent d506e59dab
commit 661212b5f5

View file

@ -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;
}