From 81911fe34b9ca55bc3477ffc783cb2d9df85fdaf Mon Sep 17 00:00:00 2001 From: Kjell Ericson Date: Fri, 31 Jan 2003 09:37:42 +0000 Subject: 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 --- apps/tree.c | 1 - 1 file changed, 1 deletion(-) 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) int btn = button_get(true); switch (btn) { case BUTTON_PLAY: - case BUTTON_PLAY | BUTTON_REL: if (!remove(buf)) { reload_dir = true; lcd_clear_display(); -- cgit v1.2.3