summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjell Ericson <kjell@haxx.se>2003-01-13 11:43:53 +0000
committerKjell Ericson <kjell@haxx.se>2003-01-13 11:43:53 +0000
commit739d4010a0dfc4cd1cf565ceae35146d33e655ed (patch)
tree1bf120594fdb8b39bb01fa97f6cefcb042ed07ad
parent69762cc0f25eafadd80c0097042e6f453cfcc39c (diff)
downloadrockbox-739d4010a0dfc4cd1cf565ceae35146d33e655ed.tar.gz
rockbox-739d4010a0dfc4cd1cf565ceae35146d33e655ed.tar.bz2
rockbox-739d4010a0dfc4cd1cf565ceae35146d33e655ed.zip
The progress char for Player could been undefined.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3074 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/wps-display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 4aca14375d..a5b8cbca19 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -374,6 +374,8 @@ static char* get_tag(struct mp3entry* id3,
case 'b': /* progress bar */
*flags |= WPS_REFRESH_PLAYER_PROGRESS;
#ifdef HAVE_LCD_CHARCELLS
+ if (wps_progress_pat==0)
+ wps_progress_pat=lcd_get_locked_pattern();
snprintf(buf, buf_size, "%c", wps_progress_pat);
return buf;
#else