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 /apps | |
parent | 140360b43a7cb1a91e72504b0c7f4ca59fd86716 (diff) | |
download | rockbox-c099eb40b3af682f63c0f45c85dbb869da2e5472.tar.gz rockbox-c099eb40b3af682f63c0f45c85dbb869da2e5472.zip |
Now also displays WPS lines without format codes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2809 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-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 c5525a73b5..ed6b1d10cc 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -517,6 +517,11 @@ static void format_display(char* buf, | |||
517 | } | 517 | } |
518 | 518 | ||
519 | *buf = 0; | 519 | *buf = 0; |
520 | |||
521 | /* If no flags have been set, the line didn't contain any format codes. | ||
522 | We still want to refresh it. */ | ||
523 | if(*flags == 0) | ||
524 | *flags = WPS_REFRESH_STATIC; | ||
520 | } | 525 | } |
521 | 526 | ||
522 | bool wps_refresh(struct mp3entry* id3, int ffwd_offset, unsigned char refresh_mode) | 527 | bool wps_refresh(struct mp3entry* id3, int ffwd_offset, unsigned char refresh_mode) |