diff options
Diffstat (limited to 'progress.c')
-rw-r--r-- | progress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/progress.c b/progress.c index 0318bdd41b..a2e8cf64a8 100644 --- a/progress.c +++ b/progress.c @@ -128,7 +128,7 @@ static void display(struct progress *progress, uint64_t n, const char *done) (int) clear_len, eol); } else if (!done && cols < progress_line_len) { clear_len = progress->title_len + 1 < cols ? - cols - progress->title_len : 0; + cols - progress->title_len - 1 : 0; fprintf(stderr, "%s:%*s\n %s%s", progress->title, (int) clear_len, "", counters_sb->buf, eol); |