diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/tree.c b/apps/tree.c index 25e0a370e9..72a2261024 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -642,9 +642,7 @@ static bool ask_resume(bool ask_once) | |||
642 | break; | 642 | break; |
643 | 643 | ||
644 | default: | 644 | default: |
645 | /* React only on release events */ | 645 | stop = true; |
646 | if(button & BUTTON_REL) | ||
647 | stop = true; | ||
648 | break; | 646 | break; |
649 | } | 647 | } |
650 | } | 648 | } |
@@ -1016,7 +1014,7 @@ static bool dirbrowse(char *root, int *dirfilter) | |||
1016 | break; | 1014 | break; |
1017 | 1015 | ||
1018 | #ifdef HAVE_RECORDER_KEYPAD | 1016 | #ifdef HAVE_RECORDER_KEYPAD |
1019 | case BUTTON_OFF | BUTTON_REL: | 1017 | case BUTTON_OFF: |
1020 | /* Stop the music if it is playing, else show the shutdown | 1018 | /* Stop the music if it is playing, else show the shutdown |
1021 | screen */ | 1019 | screen */ |
1022 | if(mpeg_status()) | 1020 | if(mpeg_status()) |
@@ -1025,6 +1023,8 @@ static bool dirbrowse(char *root, int *dirfilter) | |||
1025 | if (!charger_inserted()) { | 1023 | if (!charger_inserted()) { |
1026 | shutdown_screen(); | 1024 | shutdown_screen(); |
1027 | restore = true; | 1025 | restore = true; |
1026 | } else { | ||
1027 | charging_splash(); | ||
1028 | } | 1028 | } |
1029 | } | 1029 | } |
1030 | break; | 1030 | break; |