summaryrefslogtreecommitdiff
path: root/apps/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/tree.c')
-rw-r--r--apps/tree.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 03c7d2ca37..1025306848 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -868,10 +868,6 @@ static bool dirbrowse(const char *root, const int *dirfilter)
868 868
869 button = button_get_w_tmo(HZ/5); 869 button = button_get_w_tmo(HZ/5);
870 870
871 /* ignore leftover release event */
872 if (!lastbutton && (button & BUTTON_REL))
873 continue;
874
875#ifndef SIMULATOR 871#ifndef SIMULATOR
876 if (boot_changed) { 872 if (boot_changed) {
877 bool stop = false; 873 bool stop = false;
@@ -981,6 +977,11 @@ static bool dirbrowse(const char *root, const int *dirfilter)
981 case TREE_RC_ENTER: 977 case TREE_RC_ENTER:
982#endif 978#endif
983 case TREE_RUN: 979 case TREE_RUN:
980#ifdef TREE_RUN_PRE
981 if ((button == TREE_RUN) &&
982 (lastbutton != TREE_RUN_PRE))
983 break;
984#endif
984 if ( !numentries ) 985 if ( !numentries )
985 break; 986 break;
986 if (currdir[1]) 987 if (currdir[1])