From 322b47fd8833ca5c1c566305ba710cc2e415e225 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Tue, 6 Jun 2000 12:25:17 +0000 Subject: [PATCH] Honor f_notabs flag even in COLORLS --- bin/ls/print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ls/print.c b/bin/ls/print.c index ec4deb519a00..e55fa5f0ba7d 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;