summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMagnus Holmgren <magnushol@gmail.com>2007-03-17 07:30:33 +0000
committerMagnus Holmgren <magnushol@gmail.com>2007-03-17 07:30:33 +0000
commit1329d7d3fde426a290c03ee92b1c701dde49851c (patch)
tree622f39806987cc2092c56680af0a8091f1a343f1 /apps
parent685f6bb5e62bf5a769c94db9974e113304f06d31 (diff)
downloadrockbox-1329d7d3fde426a290c03ee92b1c701dde49851c.tar.gz
rockbox-1329d7d3fde426a290c03ee92b1c701dde49851c.tar.bz2
rockbox-1329d7d3fde426a290c03ee92b1c701dde49851c.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/list.c2
1 files changed, 2 insertions, 0 deletions
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)
{