commit e4fa7b7 (limit progress bar flicker) made the progress bar
counter unsigned causing i>=0 to never come true.

Signed-off-by: Timo Teräs <[email protected]>
Cc: Peter Korsgaard <[email protected]>
---
Should go also to 1.20-fixes.

 miscutils/fbsplash.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/miscutils/fbsplash.c b/miscutils/fbsplash.c
index 37ca665..7a18f67 100644
--- a/miscutils/fbsplash.c
+++ b/miscutils/fbsplash.c
@@ -312,8 +312,7 @@ static void fb_drawprogressbar(unsigned percent)
 
        pos_x = left_x;
        if (percent > 0) {
-               int y;
-               unsigned i;
+               int i, y;
 
                // actual progress bar
                pos_x += (unsigned)(width * percent) / 100;
-- 
1.7.12

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to