Author: greatlrd
Date: Sun Jun 4 21:15:47 2006
New Revision: 22214
URL:
http://svn.reactos.ru/svn/reactos?rev=22214&view=rev
Log:
fixing 24 bugs in *printf string version. we are failing 34 test in wine_test msvcrt
printf
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=22214…
==============================================================================
--- trunk/reactos/lib/rtl/sprintf.c (original)
+++ trunk/reactos/lib/rtl/sprintf.c Sun Jun 4 21:15:47 2006
@@ -648,11 +648,6 @@
break;
default:
- if (*fmt != '%') {
- if (str <= end)
- *str = '%';
- ++str;
- }
if (*fmt) {
if (str <= end)
*str = *fmt;
Modified: trunk/reactos/lib/rtl/swprintf.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/rtl/swprintf.c?rev=2221…
==============================================================================
--- trunk/reactos/lib/rtl/swprintf.c (original)
+++ trunk/reactos/lib/rtl/swprintf.c Sun Jun 4 21:15:47 2006
@@ -647,12 +647,7 @@
case L'u':
break;
- default:
- if (*fmt != L'%') {
- if (str <= end)
- *str = L'%';
- ++str;
- }
+ default:
if (*fmt) {
if (str <= end)
*str = *fmt;