diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2002-11-05 23:49:08 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2002-11-05 23:49:08 +0000 |
| commit | c099eb40b3af682f63c0f45c85dbb869da2e5472 (patch) | |
| tree | f30124a381fdc4e634fe9b8dbf5e93083d07df41 | |
| parent | 140360b43a7cb1a91e72504b0c7f4ca59fd86716 (diff) | |
| download | rockbox-c099eb40b3af682f63c0f45c85dbb869da2e5472.zip rockbox-c099eb40b3af682f63c0f45c85dbb869da2e5472.tar.gz rockbox-c099eb40b3af682f63c0f45c85dbb869da2e5472.tar.bz2 rockbox-c099eb40b3af682f63c0f45c85dbb869da2e5472.tar.xz | |
Now also displays WPS lines without format codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2809 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/wps-display.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index c5525a7..ed6b1d1 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -517,6 +517,11 @@ static void format_display(char* buf, } *buf = 0; + + /* If no flags have been set, the line didn't contain any format codes. + We still want to refresh it. */ + if(*flags == 0) + *flags = WPS_REFRESH_STATIC; } bool wps_refresh(struct mp3entry* id3, int ffwd_offset, unsigned char refresh_mode) |