diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-12-15 11:48:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-12-15 11:48:36 +0000 |
commit | 14c54ccdb9a7bd8708e54f63024cb03f9d07586d (patch) | |
tree | d4d4b7cc61b7fb3bcc484bc6ed9e1677ec1c673d /apps/tree.c | |
parent | 8a935f6c4dfcc7f19e0ae647d3265c9cbd1788e7 (diff) |
handle_on() depends on the presence of an ON button
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4155 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/tree.c b/apps/tree.c index 392328bd1d..4002e94703 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -699,6 +699,7 @@ void set_current_file(char *path) } } +#ifdef BUTTON_ON static bool handle_on(int *ds, int *dc, int numentries, int tree_max_on_screen, int *dirfilter) { bool exit = false; @@ -817,6 +818,7 @@ static bool handle_on(int *ds, int *dc, int numentries, int tree_max_on_screen, return used; } +#endif static bool dirbrowse(char *root, int *dirfilter) { |