diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-05-25 04:08:37 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-05-25 04:08:37 +0000 |
commit | 684b108666370708c952c21152e3960f5722aa3a (patch) | |
tree | 6015b7ba327369e4526c671aaf5f2bf141ec4b6c /apps | |
parent | f557beac56ec464e17ecd2833b7ae1dcbf8c8bd7 (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/viewport.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 |