From db645faa931e73abdbb9422d7a1989ccb98d1579 Mon Sep 17 00:00:00 2001 From: kugel Date: Wed, 27 Jan 2010 20:45:42 +0000 Subject: [PATCH] Fix yellows git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24352 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/viewport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index a76de4bf4..fd38b18d7 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -109,7 +109,7 @@ static void toggle_theme(enum screen_type screen, bool force) if (is_theme_enabled(screen)) { -#if LCD_DEPTH > 1 || LCD_REMOTE_DEPTH > 1 +#if LCD_DEPTH > 1 || (defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1) screens[screen].backdrop_show(BACKDROP_MAIN); #endif /* remove the left overs from the previous screen. @@ -164,7 +164,7 @@ static void toggle_theme(enum screen_type screen, bool force) } else { -#if LCD_DEPTH > 1 || LCD_REMOTE_DEPTH > 1 +#if LCD_DEPTH > 1 || (defined(LCD_REMOTE_DEPTH) && LCD_REMOTE_DEPTH > 1) screens[screen].backdrop_hide(); #endif screens[screen].stop_scroll(); -- 2.11.4.GIT