Gregor Schneider <grschneider@gmail.com>

- Negative position values are allowed, fixes 3 "msvcrt_winetest.exe printf" failures (25 fails left).

svn path=/trunk/; revision=35799
This commit is contained in:
Aleksey Bragin 2008-08-30 10:18:48 +00:00
parent 82290bf5a9
commit 4554d3964d

View file

@ -48,7 +48,6 @@ static char *cvt(double arg, int ndigits, int *decpt, int *sign, char *buf, int
double fi, fj;
char *p, *p1;
if (ndigits < 0) ndigits = 0;
if (ndigits >= CVTBUFSIZE - 1) ndigits = CVTBUFSIZE - 2;
r2 = 0;
*sign = 0;