From 1329d7d3fde426a290c03ee92b1c701dde49851c Mon Sep 17 00:00:00 2001 From: Magnus Holmgren Date: Sat, 17 Mar 2007 07:30:33 +0000 Subject: Fix occasional missing cursor when moving up in a list with a title when paged scrolling is on. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12814 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/gui/list.c') diff --git a/apps/gui/list.c b/apps/gui/list.c index f3a151ccc6..7f25903cae 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -525,6 +525,8 @@ static void scroll_up(struct gui_list *gui_list, bool paginate) { int item_pos = gui_list->selected_item - gui_list->start_item; int nb_lines = gui_list->display->nb_lines; + if (SHOW_LIST_TITLE) + nb_lines--; if (paginate) { -- cgit v1.2.3