Jesse Allen : msvcrt: Do not treat %ll as an IntegerDouble in printf.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 26 11:46:12 CST 2005


Module: wine
Branch: refs/heads/master
Commit: ee058ed0781865ad035e5296f5d7c2d28a0ed6fa
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ee058ed0781865ad035e5296f5d7c2d28a0ed6fa

Author: Jesse Allen <the3dfxdude at gmail.com>
Date:   Mon Dec 26 13:00:35 2005 +0100

msvcrt: Do not treat %ll as an IntegerDouble in printf.

---

 dlls/msvcrt/wcs.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c
index 5ef929b..503a998 100644
--- a/dlls/msvcrt/wcs.c
+++ b/dlls/msvcrt/wcs.c
@@ -489,10 +489,7 @@ static int pf_vsnprintf( pf_output *out,
         {
             if( *p == 'h' || *p == 'l' || *p == 'L' )
             {
-                if( flags.IntegerLength == *p )  /* FIXME: this is wrong */
-                    flags.IntegerDouble++;
-                else
-                    flags.IntegerLength = *p;
+                flags.IntegerLength = *p;
                 p++;
             }
             else if( *p == 'I' )




More information about the wine-cvs mailing list