From e425371e10c5c18a1996fe7adfb4184a09ebbd8a Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Wed, 16 Dec 2009 08:36:46 +0000 Subject: Fix FS#10289 - screens showing a list need to check the show_icons setting before setting the callback. the List will now always draw icons if a callback is set (like its always done for voice) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24022 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/bitmap/list.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps/gui/bitmap/list.c') diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 66e93fd302..dd4d41f95f 100644 --- a/apps/gui/bitmap/list.c +++ b/apps/gui/bitmap/list.c @@ -173,8 +173,7 @@ void list_draw(struct screen *display, struct gui_synclist *list) /* setup icon placement */ list_icons = *list_text_vp; - int icon_count = global_settings.show_icons && - (list->callback_get_item_icon != NULL) ? 1 : 0; + int icon_count = (list->callback_get_item_icon != NULL) ? 1 : 0; if (show_cursor) icon_count++; if (icon_count) -- cgit v1.2.3