From 640b7cbfc013a92b5ac5a37a240756f32e30f7df Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Wed, 7 Sep 2005 06:51:52 +0000 Subject: Use splash() when displaying the end-of-playlist message git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7493 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps-display.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'apps/wps-display.c') diff --git a/apps/wps-display.c b/apps/wps-display.c index 1aa21b72f5..e562751508 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -1559,24 +1559,21 @@ bool wps_refresh(struct mp3entry* id3, bool wps_display(struct mp3entry* id3, struct mp3entry* nid3) { - lcd_clear_display(); - if (!id3 && !(audio_status() & AUDIO_STATUS_PLAY)) { + global_settings.resume_index = -1; #ifdef HAVE_LCD_CHARCELLS - lcd_puts(0, 0, str(LANG_END_PLAYLIST_PLAYER)); + splash(HZ, true, str(LANG_END_PLAYLIST_PLAYER)); #else - lcd_puts(0, 2, str(LANG_END_PLAYLIST_RECORDER)); - wps_display_images(); - lcd_update(); -#endif - global_settings.resume_index = -1; status_draw(true); - sleep(HZ); + splash(HZ, true, str(LANG_END_PLAYLIST_RECORDER)); +#endif return true; } else { + lcd_clear_display(); + if (!wps_loaded) { if ( !format_buffer[0] ) { #ifdef HAVE_LCD_BITMAP -- cgit v1.2.3