1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Kjell Ericson 2003-01-31 09:37:42 +00:00
parent 8f72d9eeb1
commit 81911fe34b

View file

@ -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();