* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here

as well.
This commit is contained in:
Corinna Vinschen 2010-02-15 16:29:15 +00:00
parent b85c06ba36
commit 38d09c90de
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-02-15 Corinna Vinschen <corinna@vinschen.de>
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
as well.
2010-02-15 Corinna Vinschen <corinna@vinschen.de>
* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant

View File

@ -1382,7 +1382,7 @@ number: if ((dprec = prec) >= 0)
cp = convbuf + ndig;
}
#endif
if (prec || flags & ALT)
if (expt < ndig || flags & ALT)
PRINT (&decimal_point, 1);
PRINTANDPAD (cp, convbuf + ndig,
ndig - expt, zeroes);