skin: custom scrollbar: fix OBOE

Change-Id: I0eb7463c39970c78321d53a51a61f463858dac4e
This commit is contained in:
Christian Soffke 2026-04-26 17:12:15 +02:00 committed by Solomon Peachy
parent 5bbf1c8e5b
commit 6cf705886d

View file

@ -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;
}
}