diff options
-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; + } |