Author: greatlrd
Date: Wed Jun 7 03:22:11 2006
New Revision: 22259
URL:
http://svn.reactos.ru/svn/reactos?rev=22259&view=rev
Log:
using uppercaps for %p instead lowercaps when it format the string, that make passing one
more of wine test
27 fails now
Modified:
trunk/reactos/lib/rtl/sprintf.c
trunk/reactos/lib/rtl/swprintf.c
Modified: trunk/reactos/lib/rtl/sprintf.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/rtl/sprintf.c?rev=22259…
==============================================================================
--- trunk/reactos/lib/rtl/sprintf.c (original)
+++ trunk/reactos/lib/rtl/sprintf.c Wed Jun 7 03:22:11 2006
@@ -566,6 +566,9 @@
continue;
case 'p':
+ if ((flags & LARGE) == 0)
+ flags |= LARGE;
+
if (field_width == -1) {
field_width = 2 * sizeof(void *);
flags |= ZEROPAD;
Modified: trunk/reactos/lib/rtl/swprintf.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/rtl/swprintf.c?rev=2225…
==============================================================================
--- trunk/reactos/lib/rtl/swprintf.c (original)
+++ trunk/reactos/lib/rtl/swprintf.c Wed Jun 7 03:22:11 2006
@@ -565,6 +565,9 @@
continue;
case L'p':
+ if ((flags & LARGE) == 0)
+ flags |= LARGE;
+
if (field_width == -1) {
field_width = 2*sizeof(void *);
flags |= ZEROPAD;