diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:29:21 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-09-24 13:29:21 +0000 |
commit | b71c66ec56f7bb2cad4d9eecd8fd3f1ebc4c3b72 (patch) | |
tree | 91435076e6a9efb9a0d93f270ff29aed0b740bd5 /apps | |
parent | aa0f4a4bbe370032d8166628f456709be1330118 (diff) | |
download | rockbox-b71c66ec56f7bb2cad4d9eecd8fd3f1ebc4c3b72.tar.gz rockbox-b71c66ec56f7bb2cad4d9eecd8fd3f1ebc4c3b72.zip |
Fix the build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30590 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 2 | ||||
-rw-r--r-- | apps/screen_access.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index ae666adc06..a6178829b8 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -336,7 +336,9 @@ static void init_tagcache(void) | |||
336 | 336 | ||
337 | static void init(void) | 337 | static void init(void) |
338 | { | 338 | { |
339 | #ifdef HAVE_LCD_BITMAP | ||
339 | int i; | 340 | int i; |
341 | #endif | ||
340 | system_init(); | 342 | system_init(); |
341 | core_allocator_init(); | 343 | core_allocator_init(); |
342 | kernel_init(); | 344 | kernel_init(); |
diff --git a/apps/screen_access.c b/apps/screen_access.c index 0b206a668a..f9c2fbbbe3 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c | |||
@@ -69,6 +69,7 @@ static int screen_helper_getnblines(void) | |||
69 | 69 | ||
70 | void screen_helper_setfont(int font) | 70 | void screen_helper_setfont(int font) |
71 | { | 71 | { |
72 | (int)font; | ||
72 | #ifdef HAVE_LCD_BITMAP | 73 | #ifdef HAVE_LCD_BITMAP |
73 | if (font == FONT_UI) | 74 | if (font == FONT_UI) |
74 | font = global_status.font_id[SCREEN_MAIN]; | 75 | font = global_status.font_id[SCREEN_MAIN]; |