From 0a89fc1a101423eeee0f55d15afa78c7ab05c70e Mon Sep 17 00:00:00 2001 From: hniksic Date: Sat, 8 Dec 2001 20:51:40 -0800 Subject: [PATCH] [svn] Fix a minor ETA padding glitch. Published in . --- src/ChangeLog | 4 ++++ src/progress.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index c75cc239..d949c29f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2001-12-09 Hrvoje Niksic + + * progress.c (create_image): Fix ETA padding when hours are prined. + 2001-12-09 Hrvoje Niksic * version.c: Wget 1.8 is released. diff --git a/src/progress.c b/src/progress.c index c4dd737e..3ae5b38d 100644 --- a/src/progress.c +++ b/src/progress.c @@ -647,7 +647,7 @@ create_image (struct bar_progress *bp, long dltime) /* Hours not printed: pad with three spaces (two digits and colon). */ APPEND_LITERAL (" "); - else if (eta_hrs >= 10) + else if (eta_hrs < 10) /* Hours printed with one digit: pad with one space. */ *p++ = ' '; else -- 2.39.2