diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-02-15 16:29:15 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-02-15 16:29:15 +0000 |
commit | 38d09c90dec3f80091687f1b6ac253e2ffc1a0b9 (patch) | |
tree | 1e423e847072f1479a2f55cf9b0d6ec0feb600b3 /newlib/libc/stdio/vfwprintf.c | |
parent | b85c06ba36da589ef74b0e9ecb129627b5c06fc7 (diff) | |
download | cygnal-38d09c90dec3f80091687f1b6ac253e2ffc1a0b9.tar.gz cygnal-38d09c90dec3f80091687f1b6ac253e2ffc1a0b9.tar.bz2 cygnal-38d09c90dec3f80091687f1b6ac253e2ffc1a0b9.zip |
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Apply previous patch here
as well.
Diffstat (limited to 'newlib/libc/stdio/vfwprintf.c')
-rw-r--r-- | newlib/libc/stdio/vfwprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/vfwprintf.c b/newlib/libc/stdio/vfwprintf.c index 9cf9c3ec7..d9b9d5679 100644 --- a/newlib/libc/stdio/vfwprintf.c +++ b/newlib/libc/stdio/vfwprintf.c @@ -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); |