fixes fs# 5938 - scrollbar with title enabled shows one less than it should

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11412 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2006-11-01 12:03:27 +00:00
parent 3ad89d26d0
commit 717f63e8e2

View file

@ -356,7 +356,7 @@ void gui_list_draw(struct gui_list * gui_list)
gui_scrollbar_draw(display, 0, y_start, SCROLLBAR_WIDTH-1,
scrollbar_y_end - y_start, gui_list->nb_items,
gui_list->start_item,
gui_list->start_item + display->nb_lines, VERTICAL);
gui_list->start_item + lines, VERTICAL);
}
#endif