summaryrefslogtreecommitdiffstats
path: root/apps/language.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-05 21:32:29 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-05 21:32:29 +0000
commit5da75070c1fa6c86f2872aa148c859a3f2cc63b6 (patch)
treea465ac028f97da7e236802abc1d1611914ab76ab /apps/language.c
parent45f004de259654e659506fa731488aae7e0ebe0f (diff)
downloadrockbox-5da75070c1fa6c86f2872aa148c859a3f2cc63b6.tar.gz
rockbox-5da75070c1fa6c86f2872aa148c859a3f2cc63b6.tar.bz2
rockbox-5da75070c1fa6c86f2872aa148c859a3f2cc63b6.zip
Fix red: Protect viewport RTL flag manipulation with #ifdef HAVE_LCD_BITMAP
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22973 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/language.c')
-rw-r--r--apps/language.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/language.c b/apps/language.c
index fad136e479..0737a481be 100644
--- a/apps/language.c
+++ b/apps/language.c
@@ -25,7 +25,9 @@
#include "lang.h"
#include "debug.h"
#include "string.h"
+#ifdef HAVE_LCD_BITMAP
#include "viewport.h"
+#endif
/* The following header is generated by the build system and only defines
MAX_LANGUAGE_SIZE to be the size of the largest currently available
@@ -114,7 +116,9 @@ int lang_load(const char *filename)
else
{
lang_options = lang_header[3];
+#ifdef HAVE_LCD_BITMAP
viewportmanager_theme_changed(THEME_UI_VIEWPORT);
+#endif
}
return retcode;
}