diff options
Diffstat (limited to 'apps/gui/viewport.c')
-rw-r--r-- | apps/gui/viewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/viewport.c b/apps/gui/viewport.c index 33ffed79f3..940f7f9cfa 100644 --- a/apps/gui/viewport.c +++ b/apps/gui/viewport.c | |||
@@ -319,7 +319,7 @@ void viewport_set_fullscreen(struct viewport *vp, | |||
319 | #ifndef __PCTOOL__ | 319 | #ifndef __PCTOOL__ |
320 | set_default_align_flags(vp); | 320 | set_default_align_flags(vp); |
321 | #endif | 321 | #endif |
322 | vp->font = global_status.font_id[screen]; | 322 | vp->font = screens[screen].getuifont(); |
323 | vp->line_height = 0; /* calculate from font height */ | 323 | vp->line_height = 0; /* calculate from font height */ |
324 | vp->drawmode = DRMODE_SOLID; | 324 | vp->drawmode = DRMODE_SOLID; |
325 | #if LCD_DEPTH > 1 | 325 | #if LCD_DEPTH > 1 |