From 6bc092db0e360381f8a91a5f6578c8191b53c871 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 23 Aug 2009 15:22:50 +0000 Subject: Change the "Rename failed" message to a splash. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22472 a1c6a512-1295-4272-9138-f99709370657 --- apps/onplay.c | 6 +----- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3