wvsnprint accepts %p too (on win2k)
Mike McCormack
mike at codeweavers.com
Thu Jul 17 14:18:01 CDT 2003
ChangeLog:
* wvsnprint accepts %p too (on win2k)
-------------- next part --------------
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 */
More information about the wine-patches
mailing list