summaryrefslogtreecommitdiffstats
path: root/apps/gui/viewport.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/viewport.c')
-rw-r--r--apps/gui/viewport.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c
index bfdd1ce04a..1db1a810da 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -55,7 +55,9 @@
#include "system.h"
#include "statusbar.h"
#include "appevents.h"
+#ifdef HAVE_LCD_BITMAP
#include "language.h"
+#endif
static int statusbar_enabled = 0;
@@ -148,8 +150,10 @@ void viewport_set_defaults(struct viewport *vp, enum screen_type screen)
#endif
viewport_set_fullscreen(vp, screen);
+#ifdef HAVE_LCD_BITMAP
vp->flags &= ~VP_IS_RTL;
vp->flags |= lang_is_rtl() ? VP_IS_RTL : 0;
+#endif
}
void viewportmanager_init(void)