summaryrefslogtreecommitdiffstats
path: root/bin/ls
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-06-06 13:02:52 +0000
committerache <ache@FreeBSD.org>2000-06-06 13:02:52 +0000
commitaeaf778a36fd11e1ee4c364801601c6fcb364067 (patch)
tree2e1892614522205c237ff2645b8666f7b8074587 /bin/ls
parent21eb10009f66492192b39ddbfb8d444669237149 (diff)
downloadFreeBSD-src-aeaf778a36fd11e1ee4c364801601c6fcb364067.zip
FreeBSD-src-aeaf778a36fd11e1ee4c364801601c6fcb364067.tar.gz
Fix one conditionalization in my prev. commit
Diffstat (limited to 'bin/ls')
-rw-r--r--bin/ls/ls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ls/ls.c b/bin/ls/ls.c
index ac63133..0bf1666 100644
--- a/bin/ls/ls.c
+++ b/bin/ls/ls.c
@@ -528,9 +528,10 @@ display(p, list)
case 5: maxflags = 0;
case 6: maxsize = 0;
case 7: maxlen = 0;
-#ifndef COLORLS
- f_notabs = 0;
+#ifdef COLORLS
+ if (!f_color)
#endif
+ f_notabs = 0;
}
maxinode = makenines(maxinode);
maxblock = makenines(maxblock);
OpenPOWER on IntegriCloud