summaryrefslogtreecommitdiff
path: root/apps/gui/charcell/list.c
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-10-26 12:19:39 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-10-26 12:19:39 +0000
commita900a29091deb5ac24abf70bed6292c9eb080fcf (patch)
tree4189c6df1f93c16e8d3a3a2bd5e1cc30855edc50 /apps/gui/charcell/list.c
parentc2f4e03b9ecfe44e9aeefcdd2d23c308407ecb56 (diff)
downloadrockbox-a900a29091deb5ac24abf70bed6292c9eb080fcf.tar.gz
rockbox-a900a29091deb5ac24abf70bed6292c9eb080fcf.zip
fix that disktidy plugin and shopper plugin is not usable when Show Icons setting is turned off.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28362 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/charcell/list.c')
-rw-r--r--apps/gui/charcell/list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/charcell/list.c b/apps/gui/charcell/list.c
index 8eebfe7fa1..a0ab02841f 100644
--- a/apps/gui/charcell/list.c
+++ b/apps/gui/charcell/list.c
@@ -51,8 +51,7 @@ void gui_synclist_scroll_stop(struct gui_synclist *lists)
51void list_draw(struct screen *display, struct gui_synclist *gui_list) 51void list_draw(struct screen *display, struct gui_synclist *gui_list)
52{ 52{
53 int text_pos; 53 int text_pos;
54 bool draw_icons = (gui_list->callback_get_item_icon != NULL && 54 bool draw_icons = (gui_list->callback_get_item_icon != NULL);
55 global_settings.show_icons);
56 bool draw_cursor; 55 bool draw_cursor;
57 int i; 56 int i;
58 int lines; 57 int lines;