summaryrefslogtreecommitdiff
path: root/apps/gui/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/viewport.c')
-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,
229 if (!LIST_VALUE_PARSED(set, PL_HEIGHT)) 229 if (!LIST_VALUE_PARSED(set, PL_HEIGHT))
230 vp->height = screens[screen].lcdheight - vp->y; 230 vp->height = screens[screen].lcdheight - vp->y;
231 231
232#if LCD_DEPTH > 1 || LCD_REMOTE_DEPTH > 1 232#if (LCD_DEPTH > 1) || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1)
233 if (!LIST_VALUE_PARSED(set, PL_FG)) 233 if (!LIST_VALUE_PARSED(set, PL_FG))
234 vp->fg_pattern = FG_FALLBACK; 234 vp->fg_pattern = FG_FALLBACK;
235 if (!LIST_VALUE_PARSED(set, PL_BG)) 235 if (!LIST_VALUE_PARSED(set, PL_BG))