summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-06 13:05:06 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-06 13:05:06 +0000
commitce726be1955063786ce99bb10aa6b87c64a55e68 (patch)
tree9a492089acf7405520b81e65ebbbc158e63b2ac6 /apps
parent3d2178148bbabac312ea01ad4d9cc6d86bcff75c (diff)
downloadrockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.tar.gz
rockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.tar.bz2
rockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index c9f5847ab8..ca2cc84be7 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;
}