diff options
-rw-r--r-- | apps/wps-display.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 8ba26e5614..11a2506611 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -1142,6 +1142,10 @@ bool wps_refresh(struct mp3entry* id3, | |||
1142 | lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); | 1142 | lcd_set_drawmode(DRMODE_SOLID|DRMODE_INVERSEVID); |
1143 | lcd_fillrect(0, ypos, LCD_WIDTH, strh); | 1143 | lcd_fillrect(0, ypos, LCD_WIDTH, strh); |
1144 | lcd_set_drawmode(DRMODE_SOLID); | 1144 | lcd_set_drawmode(DRMODE_SOLID); |
1145 | |||
1146 | /* Nasty hack: we output an empty scrolling string, | ||
1147 | which will reset the scroller for that line */ | ||
1148 | lcd_puts_scroll(0, i, ""); | ||
1145 | 1149 | ||
1146 | if (flags & WPS_ALIGN_CENTER) | 1150 | if (flags & WPS_ALIGN_CENTER) |
1147 | { | 1151 | { |
@@ -1179,6 +1183,10 @@ bool wps_refresh(struct mp3entry* id3, | |||
1179 | lcd_fillrect(0, ypos, LCD_WIDTH, strh); | 1183 | lcd_fillrect(0, ypos, LCD_WIDTH, strh); |
1180 | lcd_set_drawmode(DRMODE_SOLID); | 1184 | lcd_set_drawmode(DRMODE_SOLID); |
1181 | 1185 | ||
1186 | /* Nasty hack: we output an empty scrolling string, | ||
1187 | which will reset the scroller for that line */ | ||
1188 | lcd_puts_scroll(0, i, ""); | ||
1189 | |||
1182 | if (flags & WPS_ALIGN_CENTER) { | 1190 | if (flags & WPS_ALIGN_CENTER) { |
1183 | xpos = (LCD_WIDTH - strw) / 2; | 1191 | xpos = (LCD_WIDTH - strw) / 2; |
1184 | lcd_putsxy(xpos, ypos, buf); | 1192 | lcd_putsxy(xpos, ypos, buf); |