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:
parent
8f72d9eeb1
commit
81911fe34b
1 changed files with 0 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue