diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-06 13:05:06 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-04-06 13:05:06 +0000 |
| commit | ce726be1955063786ce99bb10aa6b87c64a55e68 (patch) | |
| tree | 9a492089acf7405520b81e65ebbbc158e63b2ac6 /apps | |
| parent | 3d2178148bbabac312ea01ad4d9cc6d86bcff75c (diff) | |
| download | rockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.zip rockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.tar.gz rockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.tar.bz2 rockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.tar.xz | |
Added the IS_SYSEVENT() macro
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6256 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index c9f5847..ca2cc84 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -485,7 +485,7 @@ static bool ask_resume(bool ask_once) /* Handle sys events, ignore button releases */ default: if(default_event_handler(button) == SYS_USB_CONNECTED || - (!(button & SYS_EVENT) && !(button & BUTTON_REL))) + (IS_SYSEVENT(button) && !(button & BUTTON_REL))) stop = true; break; } |