aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2014-11-22 23:54:03 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2014-11-22 23:54:03 +0000
commit6f2e3e937bb4da26e1464d93073907529b727308 (patch)
tree64a78d23c4fdf801b555cdbc5120450d0c211366 /src
parent7ac852cd9709af98b6c12f2c7eca67915932e8a9 (diff)
downloadusdx-6f2e3e937bb4da26e1464d93073907529b727308.tar.gz
usdx-6f2e3e937bb4da26e1464d93073907529b727308.tar.xz
usdx-6f2e3e937bb4da26e1464d93073907529b727308.zip
use correct variable in time line. Thanks to rudi_s.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3106 b956fd51-792f-4845-bead-9b4dfca2ff2c
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