diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-03-01 15:16:05 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-03-01 15:16:05 +0000 |
commit | 3b52937c8a0a1e739c04115d352e10b6ff0bba9d (patch) | |
tree | 0e0c71255a2f6ab39e908504462b02d6defc9681 /apps/gui/skin_engine/skin_parser.c | |
parent | f7533cceaa0b53ded2fe997e9bd8a11571ea84d1 (diff) | |
download | rockbox-3b52937c8a0a1e739c04115d352e10b6ff0bba9d.tar.gz rockbox-3b52937c8a0a1e739c04115d352e10b6ff0bba9d.zip |
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/skin_engine/skin_parser.c')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 2 |
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, | |||
935 | else | 935 | else |
936 | vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */ | 936 | vp->flags &= ~VP_FLAG_ALIGN_RIGHT; /* ignore right-to-left languages */ |
937 | 937 | ||
938 | #ifdef HAVE_REMOTE_LCD | ||
939 | /* increment because font==2 and FONT_UI_REMOTE is ambiguous */ | 938 | /* increment because font==2 and FONT_UI_REMOTE is ambiguous */ |
940 | if (vp->font > FONT_UI) | 939 | if (vp->font > FONT_UI) |
941 | vp->font++; | 940 | vp->font++; |
941 | #ifdef HAVE_REMOTE_LCD | ||
942 | if (vp->font == FONT_UI && curr_screen == SCREEN_REMOTE) | 942 | if (vp->font == FONT_UI && curr_screen == SCREEN_REMOTE) |
943 | vp->font = FONT_UI_REMOTE; | 943 | vp->font = FONT_UI_REMOTE; |
944 | #endif | 944 | #endif |