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) |
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) #endif default: default_event_handler(button); - stop = true; + if (button & BUTTON_REL) + stop = true; break; } } @@ -836,7 +837,8 @@ static bool dirbrowse(const char *root, const int *dirfilter) default: default_event_handler(button); - stop = true; + if (button & BUTTON_REL) + stop = true; break; } } |