diff options
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r-- | apps/wps-display.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 701d2e2d21..68b018b43e 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -916,12 +916,8 @@ bool wps_refresh(struct mp3entry* id3, | |||
916 | int percent= | 916 | int percent= |
917 | id3->length? | 917 | id3->length? |
918 | (id3->elapsed + ff_rewind_count) * 100 / id3->length:0; | 918 | (id3->elapsed + ff_rewind_count) * 100 / id3->length:0; |
919 | if(global_settings.progressbar_solid) | 919 | scrollbar(0, i*h + offset + 1, LCD_WIDTH, 6, 100, 0, |
920 | scrollbar(0, i*h + offset + 1, LCD_WIDTH, 6, 100, 0, | 920 | percent, HORIZONTAL); |
921 | percent, HORIZONTAL); | ||
922 | else | ||
923 | slidebar(0, i*h + offset + 1, LCD_WIDTH, 6, | ||
924 | percent, Grow_Right); | ||
925 | update_line = true; | 921 | update_line = true; |
926 | } | 922 | } |
927 | if (flags & refresh_mode & WPS_REFRESH_PEAK_METER) { | 923 | if (flags & refresh_mode & WPS_REFRESH_PEAK_METER) { |