r3884 - trunk/src/target/opkg

thomas at sita.openmoko.org thomas at sita.openmoko.org
Fri Jan 18 14:36:38 CET 2008


Author: thomas
Date: 2008-01-18 14:36:37 +0100 (Fri, 18 Jan 2008)
New Revision: 3884

Modified:
   trunk/src/target/opkg/opkg_download.c
Log:
opkg: fix progress bar


Modified: trunk/src/target/opkg/opkg_download.c
===================================================================
--- trunk/src/target/opkg/opkg_download.c	2008-01-18 13:34:48 UTC (rev 3883)
+++ trunk/src/target/opkg/opkg_download.c	2008-01-18 13:36:37 UTC (rev 3884)
@@ -41,7 +41,7 @@
     printf ("\r%3d%% |", p);
     for (i = 1; i < 73; i++)
     {
-	if (i <= p)
+	if (i <= p * 0.73)
 	    printf ("=");
 	else
 	    printf ("-");





More information about the commitlog mailing list