Piotr Caban : msvcrt: Added 'll' modifier to printf functions.
Alexandre Julliard
julliard at winehq.org
Thu Sep 23 12:43:51 CDT 2010
Module: wine
Branch: master
Commit: 120346da8859ac92d77c8a6563ecf2fb871254dd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=120346da8859ac92d77c8a6563ecf2fb871254dd
Author: Piotr Caban <piotr at codeweavers.com>
Date: Thu Sep 23 15:28:32 2010 +0200
msvcrt: Added 'll' modifier to printf functions.
---
dlls/msvcrt/wcs.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c
index 9ee737e..d192c23 100644
--- a/dlls/msvcrt/wcs.c
+++ b/dlls/msvcrt/wcs.c
@@ -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++;
More information about the wine-cvs
mailing list