diff options
author | Magnus Holmgren <magnushol@gmail.com> | 2007-03-17 07:30:33 +0000 |
---|---|---|
committer | Magnus Holmgren <magnushol@gmail.com> | 2007-03-17 07:30:33 +0000 |
commit | 1329d7d3fde426a290c03ee92b1c701dde49851c (patch) | |
tree | 622f39806987cc2092c56680af0a8091f1a343f1 /apps/gui/list.c | |
parent | 685f6bb5e62bf5a769c94db9974e113304f06d31 (diff) |
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/gui/list.c')
-rw-r--r-- | apps/gui/list.c | 2 |
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) { |