summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2000-06-06 12:25:17 +0000
committerache <ache@FreeBSD.org>2000-06-06 12:25:17 +0000
commit1bb87dcd8c54dc505c30179881663e59d80c69d4 (patch)
treec8343089da83d5bdb3e2fd3559af3c739487e99e /bin
parent66eafb65e6eca000a92857086b15a42cb85ffa7e (diff)
downloadFreeBSD-src-1bb87dcd8c54dc505c30179881663e59d80c69d4.zip
FreeBSD-src-1bb87dcd8c54dc505c30179881663e59d80c69d4.tar.gz
Honor f_notabs flag even in COLORLS
Diffstat (limited to 'bin')
-rw-r--r--bin/ls/print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ls/print.c b/bin/ls/print.c
index ec4deb5..e55fa5f 100644
--- a/bin/ls/print.c
+++ b/bin/ls/print.c
@@ -247,7 +247,7 @@ printcol(dp)
* column number will be incremented incorrectly
* for "stty oxtabs" mode.
*/
- if (f_color)
+ if (f_color && !f_notabs)
while ((cnt = (chcnt + 1)) <= endcol) {
(void)putchar(' ');
chcnt = cnt;
OpenPOWER on IntegriCloud