diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-01 12:03:27 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-01 12:03:27 +0000 |
| commit | 717f63e8e2854261f04c2595463d7b110050b455 (patch) | |
| tree | 39d063a598aac41d5ea7460e652bc08ef9e53ac4 /apps | |
| parent | 3ad89d26d04a507e3831ae35a391c8ef83a6b1ee (diff) | |
| download | rockbox-717f63e8e2854261f04c2595463d7b110050b455.zip rockbox-717f63e8e2854261f04c2595463d7b110050b455.tar.gz rockbox-717f63e8e2854261f04c2595463d7b110050b455.tar.bz2 rockbox-717f63e8e2854261f04c2595463d7b110050b455.tar.xz | |
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
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index de8f26b..0653343 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -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 |