1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Peter D'Hoye 2008-05-29 20:32:39 +00:00
parent 0792596e17
commit f76122f0e7
12 changed files with 33 additions and 33 deletions

View file

@ -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