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 | |
parent | 8a935f6c4dfcc7f19e0ae647d3265c9cbd1788e7 (diff) | |
download | rockbox-14c54ccdb9a7bd8708e54f63024cb03f9d07586d.tar.gz rockbox-14c54ccdb9a7bd8708e54f63024cb03f9d07586d.zip |
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')
-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) | |||
699 | } | 699 | } |
700 | } | 700 | } |
701 | 701 | ||
702 | #ifdef BUTTON_ON | ||
702 | static bool handle_on(int *ds, int *dc, int numentries, int tree_max_on_screen, int *dirfilter) | 703 | static bool handle_on(int *ds, int *dc, int numentries, int tree_max_on_screen, int *dirfilter) |
703 | { | 704 | { |
704 | bool exit = false; | 705 | bool exit = false; |
@@ -817,6 +818,7 @@ static bool handle_on(int *ds, int *dc, int numentries, int tree_max_on_screen, | |||
817 | 818 | ||
818 | return used; | 819 | return used; |
819 | } | 820 | } |
821 | #endif | ||
820 | 822 | ||
821 | static bool dirbrowse(char *root, int *dirfilter) | 823 | static bool dirbrowse(char *root, int *dirfilter) |
822 | { | 824 | { |