mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Change the "Rename failed" message to a splash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22472 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
595a828e0d
commit
6bc092db0e
1 changed files with 1 additions and 5 deletions
|
@ -583,12 +583,8 @@ static bool rename_file(void)
|
|||
if (!kbd_input(newname + pathlen, (sizeof newname)-pathlen)) {
|
||||
if (!strlen(newname + pathlen) ||
|
||||
(rename(selected_file, newname) < 0)) {
|
||||
lcd_clear_display();
|
||||
lcd_puts(0,0,str(LANG_RENAME));
|
||||
lcd_puts(0,1,str(LANG_FAILED));
|
||||
lcd_update();
|
||||
cond_talk_ids_fq(LANG_RENAME, LANG_FAILED);
|
||||
sleep(HZ*2);
|
||||
splashf(HZ*2, "%s %s", str(LANG_RENAME), str(LANG_FAILED));
|
||||
}
|
||||
else
|
||||
onplay_result = ONPLAY_RELOAD_DIR;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue