diff options
author | Kjell Ericson <kjell@haxx.se> | 2003-01-31 09:37:42 +0000 |
---|---|---|
committer | Kjell Ericson <kjell@haxx.se> | 2003-01-31 09:37:42 +0000 |
commit | 81911fe34b9ca55bc3477ffc783cb2d9df85fdaf (patch) | |
tree | 57fac3c653a3cc9bf122b1aae09589fd101cb2ee /apps | |
parent | 8f72d9eeb1b75f81f75762395007c05fbd73cdb6 (diff) | |
download | rockbox-81911fe34b9ca55bc3477ffc783cb2d9df85fdaf.tar.gz rockbox-81911fe34b9ca55bc3477ffc783cb2d9df85fdaf.zip |
Fixed delete file. You shall not accept a deletion by releasing the BUTTON_PLAY\
, because you pressed that button in order to get there...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3199 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/tree.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index 7151dca6c0..fcab64f49d 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -856,7 +856,6 @@ static int onplay_screen(char* dir, char* file) | |||
856 | int btn = button_get(true); | 856 | int btn = button_get(true); |
857 | switch (btn) { | 857 | switch (btn) { |
858 | case BUTTON_PLAY: | 858 | case BUTTON_PLAY: |
859 | case BUTTON_PLAY | BUTTON_REL: | ||
860 | if (!remove(buf)) { | 859 | if (!remove(buf)) { |
861 | reload_dir = true; | 860 | reload_dir = true; |
862 | lcd_clear_display(); | 861 | lcd_clear_display(); |