Author: fireball
Date: Sat Aug 30 05:18:48 2008
New Revision: 35799
URL:
http://svn.reactos.org/svn/reactos?rev=35799&view=rev
Log:
Gregor Schneider <grschneider(a)gmail.com>
- Negative position values are allowed, fixes 3 "msvcrt_winetest.exe printf"
failures (25 fails left).
Modified:
trunk/reactos/lib/sdk/crt/stdlib/fcvtbuf.c
Modified: trunk/reactos/lib/sdk/crt/stdlib/fcvtbuf.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdlib/fcvtbuf…
==============================================================================
--- trunk/reactos/lib/sdk/crt/stdlib/fcvtbuf.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/stdlib/fcvtbuf.c [iso-8859-1] Sat Aug 30 05:18:48 2008
@@ -48,7 +48,6 @@
double fi, fj;
char *p, *p1;
- if (ndigits < 0) ndigits = 0;
if (ndigits >= CVTBUFSIZE - 1) ndigits = CVTBUFSIZE - 2;
r2 = 0;
*sign = 0;