1
0
Fork 0
forked from len0rd/rockbox

Fix incorrect UI font id in some plugins

see commit f19f3ef

Change-Id: I417929eaa9303d439725fb4f0c20d104de54f8b0
This commit is contained in:
Christian Soffke 2024-11-07 17:30:36 +01:00
parent ee365f21c4
commit 0386469794
3 changed files with 3 additions and 3 deletions

View file

@ -138,7 +138,7 @@ static int init_view(struct view_info *info,
const char *title, const char *text)
{
rb->viewport_set_defaults(&info->vp, SCREEN_MAIN);
info->pf = rb->font_get(FONT_UI);
info->pf = rb->font_get(rb->screens[SCREEN_MAIN]->getuifont());
info->display_lines = info->vp.height / info->pf->height;
info->title = title;