summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-09 17:47:12 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-09 17:47:12 +0000
commitf909428321ce297758358dcfcf75ad23871c2819 (patch)
tree8b34fecd7965c84cee5b1eaf819db901cbbb3b87
parent9f3fc27be4a2483815dacfa3f532ea8d35df650f (diff)
downloadrockbox-f909428321ce297758358dcfcf75ad23871c2819.tar.gz
rockbox-f909428321ce297758358dcfcf75ad23871c2819.zip
Fix the yellows.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22225 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/viewport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c
index fbbd4eab5a..a2c4351d03 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -229,7 +229,7 @@ const char* viewport_parse_viewport(struct viewport *vp,
if (!LIST_VALUE_PARSED(set, PL_HEIGHT))
vp->height = screens[screen].lcdheight - vp->y;
-#if LCD_DEPTH > 1 || LCD_REMOTE_DEPTH > 1
+#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)
if (!LIST_VALUE_PARSED(set, PL_FG))
vp->fg_pattern = FG_FALLBACK;
if (!LIST_VALUE_PARSED(set, PL_BG))