diff options
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index f9b59e5206..28bf7de8ae 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -583,12 +583,8 @@ static bool rename_file(void) | |||
583 | if (!kbd_input(newname + pathlen, (sizeof newname)-pathlen)) { | 583 | if (!kbd_input(newname + pathlen, (sizeof newname)-pathlen)) { |
584 | if (!strlen(newname + pathlen) || | 584 | if (!strlen(newname + pathlen) || |
585 | (rename(selected_file, newname) < 0)) { | 585 | (rename(selected_file, newname) < 0)) { |
586 | lcd_clear_display(); | ||
587 | lcd_puts(0,0,str(LANG_RENAME)); | ||
588 | lcd_puts(0,1,str(LANG_FAILED)); | ||
589 | lcd_update(); | ||
590 | cond_talk_ids_fq(LANG_RENAME, LANG_FAILED); | 586 | cond_talk_ids_fq(LANG_RENAME, LANG_FAILED); |
591 | sleep(HZ*2); | 587 | splashf(HZ*2, "%s %s", str(LANG_RENAME), str(LANG_FAILED)); |
592 | } | 588 | } |
593 | else | 589 | else |
594 | onplay_result = ONPLAY_RELOAD_DIR; | 590 | onplay_result = ONPLAY_RELOAD_DIR; |