summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-04-06 13:06:37 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-04-06 13:06:37 +0000
commit09e55a921883ab7e71bce19c49adc07705b827f5 (patch)
treed4a367b5d2484ebce97f6a6ac0e144c9e536e72f /apps
parentce726be1955063786ce99bb10aa6b87c64a55e68 (diff)
downloadrockbox-09e55a921883ab7e71bce19c49adc07705b827f5.tar.gz
rockbox-09e55a921883ab7e71bce19c49adc07705b827f5.tar.bz2
rockbox-09e55a921883ab7e71bce19c49adc07705b827f5.zip
Connected my brain
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6257 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 ca2cc84be7..7865e22447 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 ||
- (IS_SYSEVENT(button) && !(button & BUTTON_REL)))
+ (!IS_SYSEVENT(button) && !(button & BUTTON_REL)))
stop = true;
break;
}