summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-05-12 14:13:23 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-05-12 14:13:23 +0000
commitc9ed673c8173b5f3609553970b3b1da713424d9e (patch)
tree0e0e703d76a0c07e4bbd1a408ae83ca6ca5589e0 /apps/gui/list.c
parentbfb281ff63353f5a473af2b731f33e97b10ba391 (diff)
only show the cursor for the first line of the selected item (if selection is more than one line). doesnt effect inverted cursor mode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13375 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/list.c')
-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 7e9f7bb863..bad318eee6 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -403,6 +403,8 @@ static void gui_list_draw_smart(struct gui_list *gui_list)
display->puts_offset(0, i, entry_name,item_offset);
else
display->puts_scroll_offset(0, i, entry_name,item_offset);
+ if (current_item % gui_list->selected_size != 0)
+ draw_cursor = false;
}
#else
display->puts_scroll(text_pos, i, entry_name);