Honor f_notabs flag even in COLORLS

This commit is contained in:
Andrey A. Chernov 2000-06-06 12:25:17 +00:00
parent 46d31a8b36
commit 322b47fd88
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61336

View File

@ -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;