summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-03-01 15:16:05 +0000
committerThomas Martitz <kugel@rockbox.org>2010-03-01 15:16:05 +0000
commit3b52937c8a0a1e739c04115d352e10b6ff0bba9d (patch)
tree0e0c71255a2f6ab39e908504462b02d6defc9681 /apps/gui
parentf7533cceaa0b53ded2fe997e9bd8a11571ea84d1 (diff)
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
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/skin_engine/skin_parser.c2
1 files changed, 1 insertions, 1 deletions
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