summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-04-21 13:44:52 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-04-21 13:44:52 +0000
commitf8181966e647ca23c3afef8c74cdb9e414cead61 (patch)
tree6b98c1eda24d184e47b04fec8a5ff9a5cc7bfc5e
parentfa64dbb525379ebb4d4ef44bb232844a9c3e41a9 (diff)
And fix the bug which I was actually being pinged about...
dont show the selection marker if its not supposed to be shown (i.e the debug lists) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17205 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/bitmap/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 107f7f4ae6..f643053ab5 100644
--- a/apps/gui/bitmap/list.c
+++ b/apps/gui/bitmap/list.c
@@ -202,7 +202,7 @@ void list_draw(struct screen *display, struct viewport *parent,
}
#endif
if(i >= list->selected_item &&
- i < list->selected_item + list->selected_size)
+ i < list->selected_item + list->selected_size && list->show_selection_marker)
{/* The selected item must be displayed scrolling */
if (global_settings.cursor_style == 1
#ifdef HAVE_REMOTE_LCD