aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/UDraw.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/UDraw.pas b/src/base/UDraw.pas
index 374f9cbe..72e95f4b 100644
--- a/src/base/UDraw.pas
+++ b/src/base/UDraw.pas
@@ -1149,7 +1149,7 @@ begin
TotalTime := LyricsState.TotalTime;
end;
if (CurLyricsTime > 0) and
- (LyricsState.TotalTime > 0) then
+ (TotalTime > 0) then
begin
LyricsProgress := CurLyricsTime / TotalTime;
// avoid that the bar "overflows" for inaccurate song lengths