diff options
author | asami <asami@FreeBSD.org> | 1997-01-03 06:44:53 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1997-01-03 06:44:53 +0000 |
commit | 69d231639b7cfc051c8446cb7f46246b71cd0d5b (patch) | |
tree | c6277ecdb3faf3e93bf66f76203aeab3a94ea607 /misc | |
parent | 769056611a49b16e275035665646de3e3bf0d252 (diff) | |
download | FreeBSD-ports-69d231639b7cfc051c8446cb7f46246b71cd0d5b.zip FreeBSD-ports-69d231639b7cfc051c8446cb7f46246b71cd0d5b.tar.gz |
Ay. I obviously wasn't looking close enough the first time around. Now
the output should be identical for "ls -C" and "ls -CG" except for the
color sequences.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/colorls/files/patch-aa | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/colorls/files/patch-aa b/misc/colorls/files/patch-aa index f079ac2..7505336 100644 --- a/misc/colorls/files/patch-aa +++ b/misc/colorls/files/patch-aa @@ -123,7 +123,7 @@ + * with color sequences + */ + if (f_color) -+ for (cnt = chcnt ; cnt <= endcol ; cnt++) { ++ while ((cnt = (chcnt + 1)) <= endcol) { + (void)putchar(' '); + chcnt = cnt; + } |