1
0
Fork 0
forked from len0rd/rockbox

and actually fix multifont on remote lcd targets also

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24780 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-02-19 23:54:36 +00:00
parent 90d9e66920
commit ccd50dd2d7

View file

@ -930,8 +930,8 @@ static int parse_viewport(const char *wps_bufptr,
else
vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */
if (vp->font >= SYSTEMFONTCOUNT)
vp->font = font_ids[vp->font - SYSTEMFONTCOUNT];
if (vp->font > FONT_UI)
vp->font = font_ids[vp->font - FONT_UI];
struct skin_token_list *list = new_skin_token_list_item(NULL, skin_vp);
if (!list)