Interpret %% correctly in printf format string.

This commit is contained in:
2005-05-10 08:27:38 +00:00 committed by Alexandre Julliard
parent 25abe7c537
commit f438056b5d
1 changed files with 1 additions and 1 deletions

View File

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