Interpret %% correctly in printf format string.
This commit is contained in:
parent
25abe7c537
commit
f438056b5d
|
@ -430,7 +430,7 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format, va_list valist )
|
|||
/* output a single % character */
|
||||
if( *p == '%' )
|
||||
{
|
||||
r = pf_output_stringW(out, p, 1);
|
||||
r = pf_output_stringW(out, p++, 1);
|
||||
if( r<0 )
|
||||
return r;
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue