From f76122f0e7a3b82962dbe005d58a643c835013d0 Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Thu, 29 May 2008 20:32:39 +0000 Subject: 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 --- apps/tree.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index 5771311847..6e023b7a8c 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -89,7 +89,7 @@ struct gui_synclist tree_lists; /* I put it here because other files doesn't use it yet, * but should be elsewhere since it will be used mostly everywhere */ -#ifdef HAS_BUTTONBAR +#ifdef HAVE_BUTTONBAR struct gui_buttonbar tree_buttonbar; #endif static struct tree_context tc; @@ -299,7 +299,7 @@ void tree_gui_init(void) FOR_NB_SCREENS(i) screens[i].double_height(false); #endif -#ifdef HAS_BUTTONBAR +#ifdef HAVE_BUTTONBAR gui_buttonbar_init(&tree_buttonbar); /* since archos only have one screen, no need to create more than that */ gui_buttonbar_set_display(&tree_buttonbar, &(screens[SCREEN_MAIN]) ); @@ -463,7 +463,7 @@ static int update_dir(void) tc.selected_item=tc.filesindir-1; gui_synclist_select_item(&tree_lists, tc.selected_item); -#ifdef HAS_BUTTONBAR +#ifdef HAVE_BUTTONBAR if (global_settings.buttonbar) { if (*tc.dirfilter < NUM_FILTER_MODES) gui_buttonbar_set(&tree_buttonbar, str(LANG_SYSFONT_DIRBROWSE_F1), -- cgit v1.2.3