From 1ede5d7424608bfedad5b8fc9e1969eb1cfb3c3d Mon Sep 17 00:00:00 2001 From: kugel Date: Sun, 23 Aug 2009 15:22:50 +0000 Subject: [PATCH] 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 f9b59e520..28bf7de8a 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; -- 2.11.4.GIT