Sebastian Lackner sebastian@fds-team.de writes:
@@ -72,7 +73,12 @@ static inline int pf_output_stringW( pf_output *out, LPCWSTR str, int len )
if( len < 0 ) len = strlenW( str );
- if( out->unicode )
- if (!out->buf.X)
- {
out->used += len;
return len;
- }
- else if (out->unicode)
That's not correct for Unicode conversions.