From b9062aef7ccb06a055d0e6b64e8a404a89d1729a Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 29 Aug 2004 21:58:07 +0000 Subject: [PATCH] The mute status display function now uses splash() too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5024 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/apps/wps.c b/apps/wps.c index 45aa8235a5..65b01b10a5 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -137,22 +137,20 @@ void display_keylock_text(bool locked) void display_mute_text(bool muted) { - lcd_clear_display(); - + char *s; + lcd_stop_scroll(); #ifdef HAVE_LCD_CHARCELLS if (muted) - lcd_puts(0, 0, str(LANG_MUTE_ON_PLAYER)); + s = str(LANG_MUTE_ON_PLAYER); else - lcd_puts(0, 0, str(LANG_MUTE_OFF_PLAYER)); + s = str(LANG_MUTE_OFF_PLAYER); #else if (muted) - lcd_puts(2, 3, str(LANG_MUTE_ON_RECORDER)); + s = str(LANG_MUTE_ON_RECORDER); else - lcd_puts(2, 3, str(LANG_MUTE_OFF_RECORDER)); - lcd_update(); + s = str(LANG_MUTE_OFF_RECORDER); #endif - - sleep(HZ); + splash(HZ, true, s); } bool browse_id3(void)