summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-11-05 23:49:08 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-11-05 23:49:08 +0000
commitc099eb40b3af682f63c0f45c85dbb869da2e5472 (patch)
treef30124a381fdc4e634fe9b8dbf5e93083d07df41
parent140360b43a7cb1a91e72504b0c7f4ca59fd86716 (diff)
downloadrockbox-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
-rw-r--r--apps/wps-display.c5
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,
}
*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)