Author: greatlrd
Date: Sun May 28 05:32:32 2006
New Revision: 22082
URL:
http://svn.reactos.ru/svn/reactos?rev=22082&view=rev
Log:
making one more wine msvcrt printf test pass
now it is 62 fails instead of 63 fails
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=22082…
==============================================================================
--- trunk/reactos/lib/rtl/sprintf.c (original)
+++ trunk/reactos/lib/rtl/sprintf.c Sun May 28 05:32:32 2006
@@ -506,7 +506,7 @@
{
/* don't write out a null byte if the buf size is zero */
//*end = '\0';
- if (str-buf >=cnt )
+ if (str-buf >cnt )
{
*end = '\0';
}
Modified: trunk/reactos/lib/rtl/swprintf.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/lib/rtl/swprintf.c?rev=2208…
==============================================================================
--- trunk/reactos/lib/rtl/swprintf.c (original)
+++ trunk/reactos/lib/rtl/swprintf.c Sun May 28 05:32:32 2006
@@ -504,7 +504,7 @@
{
/* don't write out a null byte if the buf size is zero */
//*end = '\0';
- if (str-buf >=cnt )
+ if (str-buf >cnt )
{
*end = L'\0';
}