diff options
author | DJ Delorie <dj@redhat.com> | 2000-07-13 18:51:11 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2000-07-13 18:51:11 +0000 |
commit | 91a8d90babddd48b5ce982eaddeff0c94640d7c8 (patch) | |
tree | 3f0b13f2e991909a5e60e1317a108d49e2942e90 /newlib/libc/stdio/vfprintf.c | |
parent | d9028f52ae8e4ef319cfe37dce82ddc0cfefe7ee (diff) | |
download | cygnal-91a8d90babddd48b5ce982eaddeff0c94640d7c8.tar.gz cygnal-91a8d90babddd48b5ce982eaddeff0c94640d7c8.tar.bz2 cygnal-91a8d90babddd48b5ce982eaddeff0c94640d7c8.zip |
* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
Diffstat (limited to 'newlib/libc/stdio/vfprintf.c')
-rw-r--r-- | newlib/libc/stdio/vfprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c index 41f7d52e9..a96ce0c7d 100644 --- a/newlib/libc/stdio/vfprintf.c +++ b/newlib/libc/stdio/vfprintf.c @@ -824,7 +824,7 @@ number: if ((dprec = prec) >= 0) ox[0] = *cp++; ox[1] = '.'; PRINT(ox, 2); - if (_double || (flags & ALT) == 0) { + if (_double) { PRINT(cp, ndig-1); } else /* 0.[0..] */ /* __dtoa irregularity */ |