diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-05-29 20:32:39 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2008-05-29 20:32:39 +0000 |
| commit | f76122f0e7a3b82962dbe005d58a643c835013d0 (patch) | |
| tree | 5c4e17d6bf78d70c5612191f9c2f70a561e35b77 /apps/tree.c | |
| parent | 0792596e1757a5ad91c3959d3721d812c8a282eb (diff) | |
| download | rockbox-f76122f0e7a3b82962dbe005d58a643c835013d0.zip rockbox-f76122f0e7a3b82962dbe005d58a643c835013d0.tar.gz rockbox-f76122f0e7a3b82962dbe005d58a643c835013d0.tar.bz2 rockbox-f76122f0e7a3b82962dbe005d58a643c835013d0.tar.xz | |
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/tree.c')
| -rw-r--r-- | apps/tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/tree.c b/apps/tree.c index 5771311..6e023b7 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), |