From 38b334757dc77eb614abc55c40ff37cb99686154 Mon Sep 17 00:00:00 2001 From: ticktock35 Date: Sun, 14 Dec 2008 23:18:16 -0500 Subject: 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 ("-"); -- cgit v0.9.1