diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wps-display.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index 04fd5aae2d..26392a2701 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c | |||
@@ -855,7 +855,8 @@ static void draw_player_fullbar(char* buf, int buf_size, | |||
855 | 855 | ||
856 | int songpos = 0; | 856 | int songpos = 0; |
857 | int digits[5]; | 857 | int digits[5]; |
858 | 858 | int time; | |
859 | |||
859 | for (i=0; i < buf_size; i++) | 860 | for (i=0; i < buf_size; i++) |
860 | buf[i] = ' '; | 861 | buf[i] = ' '; |
861 | 862 | ||
@@ -868,7 +869,7 @@ static void draw_player_fullbar(char* buf, int buf_size, | |||
868 | songpos = ((id3->elapsed + ff_rewwind_count) * 55) / id3->length; | 869 | songpos = ((id3->elapsed + ff_rewwind_count) * 55) / id3->length; |
869 | } | 870 | } |
870 | 871 | ||
871 | int time=(id3->elapsed + ff_rewind_count); | 872 | time=(id3->elapsed + ff_rewind_count); |
872 | 873 | ||
873 | digits[4]=(time % 60000 / 1000 ) % 10; | 874 | digits[4]=(time % 60000 / 1000 ) % 10; |
874 | digits[3]=(time % 60000 / 10000) % 10; | 875 | digits[3]=(time % 60000 / 10000) % 10; |