summaryrefslogtreecommitdiffstats
path: root/apps/screen_access.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-05-29 20:32:39 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-05-29 20:32:39 +0000
commitf76122f0e7a3b82962dbe005d58a643c835013d0 (patch)
tree5c4e17d6bf78d70c5612191f9c2f70a561e35b77 /apps/screen_access.c
parent0792596e1757a5ad91c3959d3721d812c8a282eb (diff)
downloadrockbox-f76122f0e7a3b82962dbe005d58a643c835013d0.tar.gz
rockbox-f76122f0e7a3b82962dbe005d58a643c835013d0.tar.bz2
rockbox-f76122f0e7a3b82962dbe005d58a643c835013d0.zip
Accept FS #9052 by Alexander Levin with a fix by me. Changes HAS_BUTTONBAR into HAVE_BUTTONBAR to bring it in line with the other defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17655 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/screen_access.c')
-rw-r--r--apps/screen_access.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screen_access.c b/apps/screen_access.c
index 82f80638af..acb376e92a 100644
--- a/apps/screen_access.c
+++ b/apps/screen_access.c
@@ -128,7 +128,7 @@ struct screen screens[NB_SCREENS] =
.backlight_off=&backlight_off,
.is_backlight_on=&is_backlight_on,
.backlight_set_timeout=&backlight_set_timeout,
-#ifdef HAS_BUTTONBAR
+#ifdef HAVE_BUTTONBAR
.has_buttonbar=false
#endif
},
@@ -239,7 +239,7 @@ void screen_access_init(void)
#ifdef HAVE_LCD_BITMAP
if(global_settings.statusbar)
height -= STATUSBAR_HEIGHT;
-#ifdef HAS_BUTTONBAR
+#ifdef HAVE_BUTTONBAR
if(global_settings.buttonbar && display->has_buttonbar)
height -= BUTTONBAR_HEIGHT;
#endif