msvcrt: Added 'll' modifier to printf functions.

This commit is contained in:
Piotr Caban 2010-09-23 15:28:32 +02:00 committed by Alexandre Julliard
parent f88ed20bc9
commit 120346da88
1 changed files with 6 additions and 1 deletions

View File

@ -831,7 +831,12 @@ static int pf_vsnprintf( pf_output *out, const WCHAR *format,
/* deal with integer width modifier */
while( *p )
{
if( *p == 'h' || *p == 'l' || *p == 'L' )
if( *p == 'l' && *(p+1) == 'l' )
{
flags.IntegerDouble++;
p += 2;
}
else if( *p == 'h' || *p == 'l' || *p == 'L' )
{
flags.IntegerLength = *p;
p++;