From: hniksic Date: Tue, 28 Jun 2005 09:19:24 +0000 (-0700) Subject: [svn] Docfix. X-Git-Tag: v1.13~863 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=6762389df0e7f21385cb5863c4357c3534ac00f0 [svn] Docfix. --- diff --git a/src/progress.c b/src/progress.c index 6f24cd29..81f71040 100644 --- a/src/progress.c +++ b/src/progress.c @@ -258,12 +258,9 @@ dot_create (wgint initial, wgint total) static void print_percentage (wgint bytes, wgint expected) { - /* This intentionally rounds to the floor value because it is a - measure of how much data *has* been retrieved. Therefore 12.8% - rounds to 12% because the 13% mark has not yet been reached. - Likewise, 100% is only shown when all data has been retrieved, - not before. */ - + /* Round to the floor value in order to gauge how much data *has* + been retrieved. 12.8% will round to 12% because the 13% mark has + not yet been reached. 100% is only shown when done. */ int percentage = 100.0 * bytes / expected; logprintf (LOG_VERBOSE, "%3d%%", percentage); }