From 1f45944cbd80e9bcef13b99e93e016e93d81004d Mon Sep 17 00:00:00 2001 From: Jerome Kuptz Date: Tue, 25 Jun 2002 10:57:35 +0000 Subject: removed extra lcd_clear_display and lcd_update calls (done in play.c). Also put the proper ints back to chars. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1176 a1c6a512-1295-4272-9138-f99709370657 --- apps/wps.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'apps/wps.c') diff --git a/apps/wps.c b/apps/wps.c index 855220bc22..49e9345912 100644 --- a/apps/wps.c +++ b/apps/wps.c @@ -43,13 +43,10 @@ void wps_show_play(char* filename) mp3entry mp3; mp3info(&mp3,filename); - lcd_clear_display(); - - switch (global_settings.wps_display) - { + switch ( global_settings.wps_display ) { case PLAY_DISPLAY_TRACK_TITLE: { - int ch = '/'; + char ch = '/'; char* end; char* szTok; char* szDelimit; @@ -72,7 +69,7 @@ void wps_show_play(char* filename) } case PLAY_DISPLAY_FILENAME_SCROLL: { - int ch = '/'; + char ch = '/'; char* szLast = strrchr(filename, ch); if (szLast) @@ -110,15 +107,13 @@ void wps_show_play(char* filename) } } - - lcd_update(); } /* experimental idea still being sorted out, but want it in the the code tree still so that important playlist info is not forgotten. */ #if 0 void wps_show_playlist(char* current, playlist_info_t *list) { - int ch = '/'; + char ch = '/'; char* szLast = strrchr(current, ch); char buf[16]; -- cgit v1.2.3