summaryrefslogtreecommitdiff
path: root/apps/tree.c
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/tree.c
parent3d2178148bbabac312ea01ad4d9cc6d86bcff75c (diff)
downloadrockbox-ce726be1955063786ce99bb10aa6b87c64a55e68.tar.gz
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/tree.c')
-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)
485 /* Handle sys events, ignore button releases */ 485 /* Handle sys events, ignore button releases */
486 default: 486 default:
487 if(default_event_handler(button) == SYS_USB_CONNECTED || 487 if(default_event_handler(button) == SYS_USB_CONNECTED ||
488 (!(button & SYS_EVENT) && !(button & BUTTON_REL))) 488 (IS_SYSEVENT(button) && !(button & BUTTON_REL)))
489 stop = true; 489 stop = true;
490 break; 490 break;
491 } 491 }