summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:18:16 (EST)
committer ticktock35 <ticktock35@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2008-12-14 23:18:16 (EST)
commit38b334757dc77eb614abc55c40ff37cb99686154 (patch)
treeae24d3f23ce53712765910f832d2ad40880762e8
parent0b7a99e65bb95cd86d8846a21fce1cfc2b0b7495 (diff)
opkg: fix progress bar
git-svn-id: http://opkg.googlecode.com/svn/trunk@9 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
-rw-r--r--opkg_download.c2
1 files changed, 1 insertions, 1 deletions
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 ("-");