From 32db049a2adb032e8abe7b63b50543a30589b214 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 22 May 2008 06:23:15 +0000 Subject: fix FS#9020 and make scrolling down in lists a bit more consistant with scrolling up git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17602 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/gui/list.c b/apps/gui/list.c index 1c1bc41..ba25efd 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -274,7 +274,7 @@ static void gui_list_put_selection_on_screen(struct gui_synclist * gui_list, } else { - int top_of_screen = gui_list->selected_item - SCROLL_LIMIT; + int top_of_screen = gui_list->selected_item - SCROLL_LIMIT + 1; int temp = MIN(top_of_screen, gui_list->nb_items - nb_lines); gui_list->start_item[screen] = MAX(0, temp); } -- cgit v1.1