From 1252d0d54084a17255d2fad57a462cd15479561b Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 19 Nov 2011 13:46:25 +0000 Subject: 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 --- apps/gui/viewport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/gui/viewport.c') diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index 940f7f9cfa..a55ccc3221 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -117,7 +117,7 @@ static void toggle_theme(enum screen_type screen, bool force) bool first_boot = theme_stack_top[screen] == 0; /* remove the left overs from the previous screen. * could cause a tiny flicker. Redo your screen code if that happens */ -#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 +#ifdef HAVE_BACKDROP_IMAGE skin_backdrop_show(sb_get_backdrop(screen)); #endif if (LIKELY(after_boot[screen]) && (!was_enabled[screen] || force)) -- cgit v1.2.3