From f8181966e647ca23c3afef8c74cdb9e414cead61 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 21 Apr 2008 13:44:52 +0000 Subject: [PATCH] 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 --- apps/gui/bitmap/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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