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:
parent
26787225c1
commit
f3289f76ec
@ -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.
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user