diff --git a/src/ChangeLog b/src/ChangeLog index c96e503e..f64ab766 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2014-06-22 Darshit Shah (tiny change) + + * progress.c (create_image): Align percentage download output better. + 2014-06-21 Giuseppe Scrivano * mswindows.c (fake_fork_child): Fix build error. diff --git a/src/progress.c b/src/progress.c index df36e2cb..e9182cc8 100644 --- a/src/progress.c +++ b/src/progress.c @@ -952,7 +952,7 @@ create_image (struct bar_progress *bp, double dl_total_time, bool done) assert (percentage <= 100); if (percentage < 100) - sprintf (p, "%2d%% ", percentage); + sprintf (p, "%3d%%", percentage); else strcpy (p, "100%"); p += 4;