From 1f0908dfaf8bc88c5615a7e1751a0e08f2d7ca6c Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sat, 9 Oct 2004 20:54:15 +0000 Subject: Removed button bar for devices with no F buttons (Ondio) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5237 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'apps/tree.c') diff --git a/apps/tree.c b/apps/tree.c index effb093b41..48de4a64aa 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -636,6 +636,7 @@ static int showdir(const char *path, int start, const int *dirfilter) tree_max_on_screen * line_height, filesindir, start, start + tree_max_on_screen, VERTICAL); +#if CONFIG_KEYPAD == RECORDER_PAD if(global_settings.buttonbar) { buttonbar_set(*dirfilter < NUM_FILTER_MODES ? str(LANG_DIRBROWSE_F1) : (unsigned char *) "", @@ -643,6 +644,7 @@ static int showdir(const char *path, int start, const int *dirfilter) str(LANG_DIRBROWSE_F3)); buttonbar_draw(); } +#endif #endif status_draw(true); -- cgit v1.2.3