From 686c70c5b572b14fd3af1c533426fa6d28fc23bf Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 15 Jan 2004 13:08:12 +0000 Subject: use the %dk display for one extra k of progress --- lib/progress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/progress.c b/lib/progress.c index 2da1e790b..8f0b8cb6f 100644 --- a/lib/progress.c +++ b/lib/progress.c @@ -62,7 +62,7 @@ static char *max5data(double bytes, char *max5) sprintf(max5, "%5d", (int)bytes); return max5; } - if(bytes < (9999*ONE_KILOBYTE)) { + if(bytes < (10000*ONE_KILOBYTE)) { sprintf(max5, "%4dk", (int)bytes/ONE_KILOBYTE); return max5; } -- cgit v1.2.3