From: ticktock35 Date: Mon, 15 Dec 2008 04:18:16 +0000 (+0000) Subject: opkg: fix progress bar X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=38b334757dc77eb614abc55c40ff37cb99686154;p=oweals%2Fopkg-lede.git opkg: fix progress bar git-svn-id: http://opkg.googlecode.com/svn/trunk@9 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- diff --git a/opkg_download.c b/opkg_download.c index 0034b8d..a73406d 100644 --- a/opkg_download.c +++ b/opkg_download.c @@ -41,7 +41,7 @@ curl_progress_func (void* data, printf ("\r%3d%% |", p); for (i = 1; i < 73; i++) { - if (i <= p) + if (i <= p * 0.73) printf ("="); else printf ("-");