summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-08-23 15:22:50 +0000
committerThomas Martitz <kugel@rockbox.org>2009-08-23 15:22:50 +0000
commit6bc092db0e360381f8a91a5f6578c8191b53c871 (patch)
treea86c1b6d5f41bada525a6ed4a03aa09a906f261e
parent595a828e0d4234ca2bdb4222e609548f79a749bb (diff)
Change the "Rename failed" message to a splash.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22472 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/onplay.c6
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)
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;