wvsnprint accepts %p too (on win2k)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog: * wvsnprint accepts %p too (on win2k)
Index: dlls/user/wsprintf.c
===================================================================
RCS file: /home/wine/wine/dlls/user/wsprintf.c,v
retrieving revision 1.9
diff -u -r1.9 wsprintf.c
--- dlls/user/wsprintf.c	4 Jun 2002 23:11:09 -0000	1.9
+++ dlls/user/wsprintf.c	17 Jul 2003 19:17:04 -0000
@@ -135,6 +135,10 @@
     case 'u':
         res->type = WPR_UNSIGNED;
         break;
+    case 'p':
+        res->width = 8;
+        res->flags |= WPRINTF_ZEROPAD;
+        /* fall through */
     case 'X':
         res->flags |= WPRINTF_UPPER_HEX;
         /* fall through */
@@ -207,6 +211,10 @@
     case 'u':
         res->type = WPR_UNSIGNED;
         break;
+    case 'p':
+        res->width = 8;
+        res->flags |= WPRINTF_ZEROPAD;
+        /* fall through */
     case 'X':
         res->flags |= WPRINTF_UPPER_HEX;
         /* fall through */

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux