summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-02-17 10:59:30 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-02-17 10:59:30 +0000
commit5dd08e17e9b632f48234cef7c6e360c6666b51e0 (patch)
treee4d68895510380ead3c35e635998cf715fd4492e /apps
parent5c156414ca228b9a1d8bc9d2eb629298008ea7c9 (diff)
downloadrockbox-5dd08e17e9b632f48234cef7c6e360c6666b51e0.tar.gz
rockbox-5dd08e17e9b632f48234cef7c6e360c6666b51e0.tar.bz2
rockbox-5dd08e17e9b632f48234cef7c6e360c6666b51e0.zip
fix payer build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12348 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/menus/main_menu.c4
-rw-r--r--apps/screens.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 6cb013012a..0d280d90b0 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -157,10 +157,10 @@ static bool show_info(void)
ID2P(LANG_MEGABYTE),
ID2P(LANG_GIGABYTE)
};
-
+#if defined(HAVE_LCD_BITMAP)
FOR_NB_SCREENS(i)
screens[i].setmargins(0, 0);
-
+#endif
while (!done)
{
int y=0;
diff --git a/apps/screens.c b/apps/screens.c
index 8cae837327..26f083da47 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1317,9 +1317,10 @@ bool view_runtime(void)
unsigned char *lines[]={str(LANG_CLEAR_TIME)};
struct text_message message={(char **)lines, 1};
+#if defined(HAVE_LCD_BITMAP)
FOR_NB_SCREENS(i)
screens[i].setmargins(0, 0);
-
+#endif
while(!done)
{
int y[NB_SCREENS]={0};