summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-bitmap-common.c
diff options
context:
space:
mode:
authorTomer Shalev <shalev.tomer@gmail.com>2009-10-05 12:19:41 +0000
committerTomer Shalev <shalev.tomer@gmail.com>2009-10-05 12:19:41 +0000
commite7183f95d00ede1038f9532e99320f06b6b175b4 (patch)
treec7cbf34a49304893ddc556e0e9c5ea4195f1f54f /firmware/drivers/lcd-bitmap-common.c
parentf8adc43c64304d6e4b8c66c90874731892b16e0c (diff)
Fix red - bootloaders don't link language support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22949 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-bitmap-common.c')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index 8d3b88f8e1..1e2765f34f 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -27,7 +27,14 @@
* KIND, either express or implied.
*
****************************************************************************/
+#ifdef BOOTLOADER
+static int lang_is_rtl(void)
+{
+ return 0;
+}
+#else
#include "language.h"
+#endif
#ifndef LCDFN /* Not compiling for remote - define macros for main LCD. */
#define LCDFN(fn) lcd_ ## fn