summaryrefslogtreecommitdiffstats
path: root/apps/radio/radio_skin.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-11-19 13:46:25 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-11-19 13:46:25 +0000
commit1252d0d54084a17255d2fad57a462cd15479561b (patch)
treeabb5e6a523fde1a44b2d41c5bf564e25286d4dc5 /apps/radio/radio_skin.c
parent852b68c74aab63915ba9c9c7378cf33e3277e6bb (diff)
downloadrockbox-1252d0d54084a17255d2fad57a462cd15479561b.tar.gz
rockbox-1252d0d54084a17255d2fad57a462cd15479561b.tar.bz2
rockbox-1252d0d54084a17255d2fad57a462cd15479561b.zip
Get rid of a really annoying #ifdef line to check if backdrop support should be enabled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31027 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/radio/radio_skin.c')
-rw-r--r--apps/radio/radio_skin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/radio/radio_skin.c b/apps/radio/radio_skin.c
index 055de90429..2c9c369979 100644
--- a/apps/radio/radio_skin.c
+++ b/apps/radio/radio_skin.c
@@ -69,7 +69,7 @@ void fms_fix_displays(enum fms_exiting toggle_state)
if (toggle_state == FMS_ENTER)
{
viewportmanager_theme_enable(i, skin_has_sbs(i, data), NULL);
-#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
+#ifdef HAVE_BACKDROP_IMAGE
skin_backdrop_show(data->backdrop_id);
#endif
screens[i].clear_display();
@@ -79,7 +79,7 @@ void fms_fix_displays(enum fms_exiting toggle_state)
else
{
screens[i].stop_scroll();
-#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
+#ifdef HAVE_BACKDROP_IMAGE
skin_backdrop_show(sb_get_backdrop(i));
#endif
viewportmanager_theme_undo(i, skin_has_sbs(i, data));