diff options
author | Björn Stenberg <bjorn@haxx.se> | 2004-10-05 13:12:42 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2004-10-05 13:12:42 +0000 |
commit | e2041da713dcfc905132346ac5216b457dd646d8 (patch) | |
tree | 6af63348ee59acdc92554ef977412d3aab3b13cb /apps | |
parent | 25c0d3ace92f8b7c38f4f0b6c66cca26e8fed67d (diff) | |
download | rockbox-e2041da713dcfc905132346ac5216b457dd646d8.tar.gz rockbox-e2041da713dcfc905132346ac5216b457dd646d8.zip |
Don't accept press events as dialog answer.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5177 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tree.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c index 0116f8a55d..24034fe45b 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -643,7 +643,8 @@ static bool ask_resume(bool ask_once) | |||
643 | #endif | 643 | #endif |
644 | default: | 644 | default: |
645 | default_event_handler(button); | 645 | default_event_handler(button); |
646 | stop = true; | 646 | if (button & BUTTON_REL) |
647 | stop = true; | ||
647 | break; | 648 | break; |
648 | } | 649 | } |
649 | } | 650 | } |
@@ -836,7 +837,8 @@ static bool dirbrowse(const char *root, const int *dirfilter) | |||
836 | 837 | ||
837 | default: | 838 | default: |
838 | default_event_handler(button); | 839 | default_event_handler(button); |
839 | stop = true; | 840 | if (button & BUTTON_REL) |
841 | stop = true; | ||
840 | break; | 842 | break; |
841 | } | 843 | } |
842 | } | 844 | } |