From 3b52937c8a0a1e739c04115d352e10b6ff0bba9d Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Mon, 1 Mar 2010 15:16:05 +0000 Subject: Revert r24958. It didn't fix anything (in fact, the problem described didn't exist). Increase MAXFONTS by 1 to allow for remote screen targets to load fonts 2-9. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24983 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 31228789be..13e2df5889 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -935,10 +935,10 @@ static int parse_viewport(const char *wps_bufptr, else vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */ -#ifdef HAVE_REMOTE_LCD /* increment because font==2 and FONT_UI_REMOTE is ambiguous */ if (vp->font > FONT_UI) vp->font++; +#ifdef HAVE_REMOTE_LCD if (vp->font == FONT_UI && curr_screen == SCREEN_REMOTE) vp->font = FONT_UI_REMOTE; #endif -- cgit v1.2.3