From 54ca7657699577b1e8e84bc98ac2aa00eef6bc69 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 8 Feb 2010 09:47:08 +0000 Subject: fix red. these long #if's need to be changed to a single #define git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24566 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/wps.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/gui/wps.c') diff --git a/apps/gui/wps.c b/apps/gui/wps.c index f461c02..abe8023 100644 --- a/apps/gui/wps.c +++ b/apps/gui/wps.c @@ -565,7 +565,9 @@ static void gwps_leave_wps(void) FOR_NB_SCREENS(i) { gui_wps[i].display->stop_scroll(); +#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 gui_wps[i].display->backdrop_show(sb_get_backdrop(i)); +#endif #ifdef HAVE_LCD_BITMAP bool draw = false; @@ -603,7 +605,9 @@ static void gwps_enter_wps(void) draw = true; #endif display->stop_scroll(); +#if LCD_DEPTH > 1 || defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 display->backdrop_show(gwps->data->backdrop); +#endif viewportmanager_theme_enable(i, draw, NULL); /* Update the values in the first (default) viewport - in case the user -- cgit v1.1