mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix incorrect UI font id in some plugins
see commit f19f3ef
Change-Id: I417929eaa9303d439725fb4f0c20d104de54f8b0
This commit is contained in:
parent
ee365f21c4
commit
0386469794
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue