]> sjero.net Git - wget/commitdiff
[svn] Fix a minor ETA padding glitch.
authorhniksic <devnull@localhost>
Sun, 9 Dec 2001 04:51:40 +0000 (20:51 -0800)
committerhniksic <devnull@localhost>
Sun, 9 Dec 2001 04:51:40 +0000 (20:51 -0800)
Published in <sxs667hyp19.fsf@florida.arsdigita.de>.

src/ChangeLog
src/progress.c

index c75cc2396d76c67cc97fb971c60ca9408d26a951..d949c29f0bca5611574a4367383bdcb631c4fe08 100644 (file)
@@ -1,3 +1,7 @@
+2001-12-09  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * progress.c (create_image): Fix ETA padding when hours are prined.
+
 2001-12-09  Hrvoje Niksic  <hniksic@arsdigita.com>
 
        * version.c: Wget 1.8 is released.
index c4dd737e6d269df90baaef1ed951aee777663917..3ae5b38d3510e9996f4f7704004d7e88bf1af672 100644 (file)
@@ -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