1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Fix a minor ETA padding glitch.

Published in <sxs667hyp19.fsf@florida.arsdigita.de>.
This commit is contained in:
hniksic 2001-12-08 20:51:40 -08:00
parent cdc0cc0c1a
commit 0a89fc1a10
2 changed files with 5 additions and 1 deletions

View 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> 2001-12-09 Hrvoje Niksic <hniksic@arsdigita.com>
* version.c: Wget 1.8 is released. * version.c: Wget 1.8 is released.

View File

@ -647,7 +647,7 @@ create_image (struct bar_progress *bp, long dltime)
/* Hours not printed: pad with three spaces (two digits and /* Hours not printed: pad with three spaces (two digits and
colon). */ colon). */
APPEND_LITERAL (" "); APPEND_LITERAL (" ");
else if (eta_hrs >= 10) else if (eta_hrs < 10)
/* Hours printed with one digit: pad with one space. */ /* Hours printed with one digit: pad with one space. */
*p++ = ' '; *p++ = ' ';
else else