From c9ed673c8173b5f3609553970b3b1da713424d9e Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 12 May 2007 14:13:23 +0000 Subject: 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 --- apps/gui/list.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3