diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-28 08:48:04 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-28 08:48:04 +0000 |
commit | 6434e760fc52fcfa45fc68dd4b2dbfc97588a4f1 (patch) | |
tree | fa81a2781becb4e2c818d0d57c491acdba667412 /apps/gui/skin_engine | |
parent | 8717c1eaa12ce23501d1c6e6103eaed310204243 (diff) | |
download | rockbox-6434e760fc52fcfa45fc68dd4b2dbfc97588a4f1.tar.gz rockbox-6434e760fc52fcfa45fc68dd4b2dbfc97588a4f1.zip |
move a #ifdef so the full amount of user choosable skin fonts are avilable on non remote targets (i.e 2-9 inclusive)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24958 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/skin_engine')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 4 |
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 01913e48b7..31228789be 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 | /* increment because font=2 and FONT_UI_REMOTE is ambiguous */ | 938 | #ifdef HAVE_REMOTE_LCD |
939 | /* increment because font==2 and FONT_UI_REMOTE is ambiguous */ | ||
939 | if (vp->font > FONT_UI) | 940 | if (vp->font > FONT_UI) |
940 | vp->font++; | 941 | 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 |