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
decimal point in case the float argument is an integral value.
cp = convbuf + ndig;
}
#endif
- if (prec || flags & ALT)
+ if (expt < ndig || flags & ALT)
PRINT (&decimal_point, 1);
PRINTANDPAD (cp, convbuf + ndig,
ndig - expt, zeroes);