From e2041da713dcfc905132346ac5216b457dd646d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Stenberg?= Date: Tue, 5 Oct 2004 13:12:42 +0000 Subject: Don't accept press events as dialog answer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5177 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps') 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; } } -- cgit v1.2.3