skin: custom scrollbar: fix OBOE
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Sun, 26 Apr 2026 11:20:06 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 6cf705886d41105682897313e025db7a01c6e124 Author: Christian Soffke <[email protected]> Date: Sun Apr 26 17:12:15 2026 +0200 skin: custom scrollbar: fix OBOE Change-Id: I0eb7463c39970c78321d53a51a61f463858dac4e diff --git a/apps/gui/bitmap/list-skinned.c b/apps/gui/bitmap/list-skinned.c index bebff821f8..64a7f49ad6 100644 --- a/apps/gui/bitmap/list-skinned.c +++ b/apps/gui/bitmap/list-skinned.c @@ -163,7 +163,7 @@ void skinlist_get_scrollbar(int* nb_item, int* first_shown, int* last_shown) { *nb_item = current_item; *first_shown = 0; - *last_shown = current_nbitems; + *last_shown = current_nbitems - 1; } } -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs