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

Better align download percentage status

This commit is contained in:
Darshit Shah 2014-06-22 12:30:14 +05:30
parent 26787225c1
commit f3289f76ec
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-06-22 Darshit Shah <darnir@gmail.com> (tiny change)
* progress.c (create_image): Align percentage download output better.
2014-06-21 Giuseppe Scrivano <gscrivan@redhat.com> 2014-06-21 Giuseppe Scrivano <gscrivan@redhat.com>
* mswindows.c (fake_fork_child): Fix build error. * mswindows.c (fake_fork_child): Fix build error.

View File

@ -952,7 +952,7 @@ create_image (struct bar_progress *bp, double dl_total_time, bool done)
assert (percentage <= 100); assert (percentage <= 100);
if (percentage < 100) if (percentage < 100)
sprintf (p, "%2d%% ", percentage); sprintf (p, "%3d%%", percentage);
else else
strcpy (p, "100%"); strcpy (p, "100%");
p += 4; p += 4;