summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/skin_engine/skin_parser.c5
-rw-r--r--apps/gui/statusbar-skinned.c4
-rw-r--r--apps/gui/viewport.c6
3 files changed, 8 insertions, 7 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 4e0cc42e18..414da44581 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -930,6 +930,11 @@ static int parse_viewport(const char *wps_bufptr,
930 else 930 else
931 vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */ 931 vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */
932 932
933#ifdef HAVE_REMOTE_LCD
934 if (vp->font == FONT_UI && curr_screen == SCREEN_REMOTE)
935 vp->font = FONT_UI_REMOTE;
936 else
937#endif
933 if (vp->font > FONT_UI) 938 if (vp->font > FONT_UI)
934 vp->font = font_ids[vp->font - FONT_UI]; 939 vp->font = font_ids[vp->font - FONT_UI];
935 940
diff --git a/apps/gui/statusbar-skinned.c b/apps/gui/statusbar-skinned.c
index fac6756aec..f5458fb252 100644
--- a/apps/gui/statusbar-skinned.c
+++ b/apps/gui/statusbar-skinned.c
@@ -184,8 +184,8 @@ void sb_create_from_settings(enum screen_type screen)
184 default: 184 default:
185 height = screens[screen].lcdheight; 185 height = screens[screen].lcdheight;
186 } 186 }
187 len = snprintf(ptr, remaining, "%%ax%%Vi|0|%d|-|%d|%d|-|-|\n", 187 len = snprintf(ptr, remaining, "%%ax%%Vi|0|%d|-|%d|1|-|-|\n",
188 y, height, FONT_UI + screen); 188 y, height);
189 } 189 }
190 sb_skin_data_load(screen, buf, false); 190 sb_skin_data_load(screen, buf, false);
191} 191}
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c
index ee233b9c46..142be1c8ac 100644
--- a/apps/gui/viewport.c
+++ b/apps/gui/viewport.c
@@ -457,11 +457,7 @@ const char* viewport_parse_viewport(struct viewport *vp,
457 * font 1 is *always* the UI font for the current screen 457 * font 1 is *always* the UI font for the current screen
458 * 2 is always the first extra font */ 458 * 2 is always the first extra font */
459 if (!LIST_VALUE_PARSED(set, PL_FONT)) 459 if (!LIST_VALUE_PARSED(set, PL_FONT))
460 vp->font = FONT_UI + screen; 460 vp->font = FONT_UI;
461#ifdef HAVE_REMOTE_LCD
462 else if (vp->font == FONT_UI && screen == SCREEN_REMOTE)
463 vp->font = FONT_UI_REMOTE;
464#endif
465 461
466 /* Set the defaults for fields not user-specified */ 462 /* Set the defaults for fields not user-specified */
467 vp->drawmode = DRMODE_SOLID; 463 vp->drawmode = DRMODE_SOLID;