summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-02-19 23:54:36 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-02-19 23:54:36 +0000
commitccd50dd2d7bc15b98d21b19d2f6cba8dc4b6217b (patch)
tree7d60c86ddb9831a697e24a90088b67254d90a818
parent90d9e66920f774582e4d5fbeed6b1ca0c5489c08 (diff)
downloadrockbox-ccd50dd2d7bc15b98d21b19d2f6cba8dc4b6217b.tar.gz
rockbox-ccd50dd2d7bc15b98d21b19d2f6cba8dc4b6217b.zip
and actually fix multifont on remote lcd targets also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24780 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/gui/skin_engine/skin_parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c
index 0a7dfd4075..4e0cc42e18 100644
--- a/apps/gui/skin_engine/skin_parser.c
+++ b/apps/gui/skin_engine/skin_parser.c
@@ -930,8 +930,8 @@ 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 if (vp->font >= SYSTEMFONTCOUNT) 933 if (vp->font > FONT_UI)
934 vp->font = font_ids[vp->font - SYSTEMFONTCOUNT]; 934 vp->font = font_ids[vp->font - FONT_UI];
935 935
936 struct skin_token_list *list = new_skin_token_list_item(NULL, skin_vp); 936 struct skin_token_list *list = new_skin_token_list_item(NULL, skin_vp);
937 if (!list) 937 if (!list)