diff options
author | Dave Chapman <dave@dchapman.com> | 2005-11-19 03:19:12 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-11-19 03:19:12 +0000 |
commit | fe772405beb9e49e5c83c885763628985f81fc5f (patch) | |
tree | 23cb659d94c404e3a6426f26705ef8d5ff86f243 /apps/tree.c | |
parent | a807fca49be192b676719c2aecc5056754d04c7f (diff) |
iPod: First attempt to implement sensible button mappings. Changes to all targets to replace a small number of references to raw button codes (BUTTON_???) with their abstract equivalents.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7983 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/tree.c')
-rw-r--r-- | apps/tree.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/tree.c b/apps/tree.c index 89a8522743..f484463d2d 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -997,11 +997,7 @@ static bool add_dir(char* dirname, int len, int fd) DIRCACHED* dir; /* check for user abort */ -#ifdef BUTTON_STOP - if (button_get(false) == BUTTON_STOP) -#else - if (button_get(false) == BUTTON_OFF) -#endif + if (button_get(false) == TREE_ABORT) return true; dir = opendir_cached(dirname); |