diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1997-01-03 06:44:53 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1997-01-03 06:44:53 +0000 |
commit | a9ff1fa70551d17decd9ff714cd15799fe216a3d (patch) | |
tree | 971fa0ee756a82913d2eb8a5eec0d546c8961a8d | |
parent | + regexps (diff) |
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.
Notes
Notes:
svn path=/head/; revision=5180
-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 f079ac2ba0f6..75053363cfdb 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; + } |