Sign in wvsnprintf16

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Sat Jan 24 10:54:54 CST 2004


Changelog:
	dlls/users/wsprintf.c:  wvsnprintf16
	Small Fix for the WPR_SIGNED case (count the sign)
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/user/wsprintf.c
===================================================================
RCS file: /home/wine/wine/dlls/user/wsprintf.c,v
retrieving revision 1.12
diff -u -r1.12 wsprintf.c
--- wine/dlls/user/wsprintf.c	5 Sep 2003 23:08:29 -0000	1.12
+++ wine/dlls/user/wsprintf.c	24 Jan 2004 16:51:54 -0000
@@ -368,7 +368,7 @@
         case WPR_UNSIGNED:
             for (i = len; i < format.precision; i++, maxlen--) *p++ = '0';
             if (len > sign) memcpy( p, number + sign, len - sign );
-            p += len;
+            p += len-sign;
             break;
         case WPR_UNKNOWN:
             continue;



More information about the wine-patches mailing list