diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 01913e48b7..31228789be 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -935,10 +935,10 @@ static int parse_viewport(const char *wps_bufptr, | |||
935 | else | 935 | else |
936 | vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */ | 936 | vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */ |
937 | 937 | ||
938 | /* increment because font=2 and FONT_UI_REMOTE is ambiguous */ | 938 | #ifdef HAVE_REMOTE_LCD |
939 | /* increment because font==2 and FONT_UI_REMOTE is ambiguous */ | ||
939 | if (vp->font > FONT_UI) | 940 | if (vp->font > FONT_UI) |
940 | vp->font++; | 941 | vp->font++; |
941 | #ifdef HAVE_REMOTE_LCD | ||
942 | if (vp->font == FONT_UI && curr_screen == SCREEN_REMOTE) | 942 | if (vp->font == FONT_UI && curr_screen == SCREEN_REMOTE) |
943 | vp->font = FONT_UI_REMOTE; | 943 | vp->font = FONT_UI_REMOTE; |
944 | #endif | 944 | #endif |