From 684b108666370708c952c21152e3960f5722aa3a Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Tue, 25 May 2010 04:08:37 +0000 Subject: fix red, but this might not be the best long term solution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26278 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/viewport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index ba42ef1175..a100d56cd5 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c @@ -443,7 +443,7 @@ const char* viewport_parse_viewport(struct viewport *vp, #if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1) if (!LIST_VALUE_PARSED(set, PL_FG)) { -#ifdef HAVE_REMOTE_LCD +#if (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1) if (screen == SCREEN_REMOTE) vp->fg_pattern = REMOTE_FG_FALLBACK; else @@ -452,7 +452,7 @@ const char* viewport_parse_viewport(struct viewport *vp, } if (!LIST_VALUE_PARSED(set, PL_BG)) { -#ifdef HAVE_REMOTE_LCD +#if (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1) if (screen == SCREEN_REMOTE) vp->bg_pattern = REMOTE_BG_FALLBACK; else -- cgit v1.2.3