[ros-diffs] [greatlrd] 22259: using uppercaps for %p instead lowercaps when it format the string, that make passing one more of wine test 27 fails now

greatlrd at svn.reactos.org greatlrd at svn.reactos.org
Wed Jun 7 01:22:11 CEST 2006


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&r1=22258&r2=22259&view=diff
==============================================================================
--- 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=22259&r1=22258&r2=22259&view=diff
==============================================================================
--- 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;




More information about the Ros-diffs mailing list