diff options
Diffstat (limited to 'bin/ls')
-rw-r--r-- | bin/ls/ls.c | 5 |
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); |