fix FS#8841 - scrolling doesnt work when using cursor seelction icon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16941 a1c6a512-1295-4272-9138-f99709370657
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c
index 4bffca8..13329e2 100644
--- a/apps/gui/bitmap/list.c
+++ b/apps/gui/bitmap/list.c
@@ -201,12 +201,16 @@
}
}
#endif
-
- if(list->show_selection_marker && global_settings.cursor_style &&
- i >= list->selected_item &&
+ if(i >= list->selected_item &&
i < list->selected_item + list->selected_size)
{/* The selected item must be displayed scrolling */
- if (global_settings.cursor_style == 1 || display->depth < 16)
+ if (global_settings.cursor_style == 1
+#ifdef HAVE_REMOTE_LCD
+ /* the global_settings.cursor_style check is here to make sure
+ if they want the cursor instead of bar it will work */
+ || (display->depth < 16 && global_settings.cursor_style)
+#endif
+ )
{
/* Display inverted-line-style */
list_text[display->screen_type].drawmode |= STYLE_INVERT;