diff options
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r-- | apps/wps-display.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 3ddbc974c1..6bca8cb40d 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -530,7 +530,6 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all) | |||
530 | { | 530 | { |
531 | char buf[MAX_PATH]; | 531 | char buf[MAX_PATH]; |
532 | struct format_flags flags; | 532 | struct format_flags flags; |
533 | bool scroll_active = false; | ||
534 | int i; | 533 | int i; |
535 | #ifdef HAVE_LCD_BITMAP | 534 | #ifdef HAVE_LCD_BITMAP |
536 | /* to find out wether the peak meter is enabled we | 535 | /* to find out wether the peak meter is enabled we |
@@ -602,9 +601,8 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all) | |||
602 | } | 601 | } |
603 | #endif | 602 | #endif |
604 | 603 | ||
605 | if (!scroll_active && flags.scroll && !flags.dynamic) | 604 | if (flags.scroll && !flags.dynamic) |
606 | { | 605 | { |
607 | scroll_active = true; | ||
608 | lcd_puts_scroll(0, i, buf); | 606 | lcd_puts_scroll(0, i, buf); |
609 | } | 607 | } |
610 | else | 608 | else |