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 78d517d58b..e05cd78970 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -139,7 +139,7 @@ void viewport_set_fullscreen(struct viewport *vp, enum screen_type screen)
void viewport_set_defaults(struct viewport *vp, enum screen_type screen)
{
#ifdef HAVE_LCD_BITMAP
- if (ui_vp_info.active)
+ if (ui_vp_info.active[screen])
*vp = custom_vp[screen];
else
#endif