From db2028940b5b3b6722f6cce89408024bd71a039a Mon Sep 17 00:00:00 2001 From: bde Date: Sun, 12 Mar 1995 13:53:51 +0000 Subject: Remove `|| flags & ALT == 0' which was an obscure no-op, not a parenthesization/precedence bug. --- lib/libc/stdio/vfprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdio/vfprintf.c') diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c index 65a1eb4..dc2769e 100644 --- a/lib/libc/stdio/vfprintf.c +++ b/lib/libc/stdio/vfprintf.c @@ -756,7 +756,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 */ -- cgit v1.1