diff options
| author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-16 08:36:46 +0000 |
|---|---|---|
| committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-16 08:36:46 +0000 |
| commit | e425371e10c5c18a1996fe7adfb4184a09ebbd8a (patch) | |
| tree | 80bee7b66110bd31734897a96fe336ea50336923 /apps/gui/bitmap | |
| parent | b9aabcb1a40aa2705d720e332bef7c390fb0587a (diff) | |
| download | rockbox-e425371e10c5c18a1996fe7adfb4184a09ebbd8a.zip rockbox-e425371e10c5c18a1996fe7adfb4184a09ebbd8a.tar.gz rockbox-e425371e10c5c18a1996fe7adfb4184a09ebbd8a.tar.bz2 rockbox-e425371e10c5c18a1996fe7adfb4184a09ebbd8a.tar.xz | |
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
Diffstat (limited to 'apps/gui/bitmap')
| -rw-r--r-- | apps/gui/bitmap/list.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/gui/bitmap/list.c b/apps/gui/bitmap/list.c index 66e93fd..dd4d41f 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) |