summaryrefslogtreecommitdiff
path: root/apps/wps.c
diff options
context:
space:
mode:
authorJerome Kuptz <jeromekuptz@gmail.com>2002-06-25 10:57:35 +0000
committerJerome Kuptz <jeromekuptz@gmail.com>2002-06-25 10:57:35 +0000
commit1f45944cbd80e9bcef13b99e93e016e93d81004d (patch)
tree06950bba28cd06822528a9b747677cceadc03a12 /apps/wps.c
parent1c65e52bfccd9acd5c054f2c833c98b3db2cf898 (diff)
downloadrockbox-1f45944cbd80e9bcef13b99e93e016e93d81004d.tar.gz
rockbox-1f45944cbd80e9bcef13b99e93e016e93d81004d.zip
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
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c13
1 files changed, 4 insertions, 9 deletions
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)
43 mp3entry mp3; 43 mp3entry mp3;
44 mp3info(&mp3,filename); 44 mp3info(&mp3,filename);
45 45
46 lcd_clear_display(); 46 switch ( global_settings.wps_display ) {
47
48 switch (global_settings.wps_display)
49 {
50 case PLAY_DISPLAY_TRACK_TITLE: 47 case PLAY_DISPLAY_TRACK_TITLE:
51 { 48 {
52 int ch = '/'; 49 char ch = '/';
53 char* end; 50 char* end;
54 char* szTok; 51 char* szTok;
55 char* szDelimit; 52 char* szDelimit;
@@ -72,7 +69,7 @@ void wps_show_play(char* filename)
72 } 69 }
73 case PLAY_DISPLAY_FILENAME_SCROLL: 70 case PLAY_DISPLAY_FILENAME_SCROLL:
74 { 71 {
75 int ch = '/'; 72 char ch = '/';
76 char* szLast = strrchr(filename, ch); 73 char* szLast = strrchr(filename, ch);
77 74
78 if (szLast) 75 if (szLast)
@@ -110,15 +107,13 @@ void wps_show_play(char* filename)
110 } 107 }
111 108
112 } 109 }
113
114 lcd_update();
115} 110}
116 111
117/* experimental idea still being sorted out, but want it in the the code tree still so that important playlist info is not forgotten. */ 112/* experimental idea still being sorted out, but want it in the the code tree still so that important playlist info is not forgotten. */
118#if 0 113#if 0
119void wps_show_playlist(char* current, playlist_info_t *list) 114void wps_show_playlist(char* current, playlist_info_t *list)
120{ 115{
121 int ch = '/'; 116 char ch = '/';
122 char* szLast = strrchr(current, ch); 117 char* szLast = strrchr(current, ch);
123 char buf[16]; 118 char buf[16];
124 119