summaryrefslogtreecommitdiff
path: root/apps/wps-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps-display.c')
-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,
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
522bool wps_refresh(struct mp3entry* id3, int ffwd_offset, unsigned char refresh_mode) 527bool wps_refresh(struct mp3entry* id3, int ffwd_offset, unsigned char refresh_mode)