fix yellow in 3af4e20

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Thu, 30 Jul 2026 06:55:18 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit db87622e7d5dad53af6fad8b29c81561b0b71646
Author: Christian Soffke <[email protected]>
Date:   Thu Jul 30 12:44:58 2026 +0200

    fix yellow in 3af4e20
    
    Change-Id: Ia0963934176ff4759a94af5bfe33fc61c95226fc

diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c
index abeeef16ff..027026cd8c 100644
--- a/apps/gui/skin_engine/skin_display.c
+++ b/apps/gui/skin_engine/skin_display.c
@@ -178,7 +178,7 @@ void draw_progressbar(struct gui_wps *gwps, struct skin_viewport* skin_viewport,
     struct wps_state *state = get_wps_state();
     struct mp3entry *id3 = state->id3;
     int x = pb->x, y = pb->y, width = pb->width, height = pb->height;
-    unsigned long end, length = 0;
+    unsigned long length = 1, end = 0;
     int flags = HORIZONTAL;
 
     if (height < 0)
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs