aboutsummaryrefslogtreecommitdiffstats
path: root/src/base/USong.pas
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 11:04:30 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-12-13 11:04:30 +0000
commitd803b2322d8322a8e3fab7cffb043c0c62d94c9d (patch)
tree61ae265e9208ac53cfcffa037b55bec14cf95dfd /src/base/USong.pas
parenta81f9853a8c37de63e386a316ef41110f89591d8 (diff)
downloadusdx-d803b2322d8322a8e3fab7cffb043c0c62d94c9d.tar.gz
usdx-d803b2322d8322a8e3fab7cffb043c0c62d94c9d.tar.xz
usdx-d803b2322d8322a8e3fab7cffb043c0c62d94c9d.zip
fixed bug in song parser that may lead to an Access Violation
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2023 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/base/USong.pas')
-rw-r--r--src/base/USong.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/USong.pas b/src/base/USong.pas
index c465f198..47200e63 100644
--- a/src/base/USong.pas
+++ b/src/base/USong.pas
@@ -483,7 +483,7 @@ begin
while true do
begin
- LinePos := 0;
+ LinePos := 1;
Param0 := ParseLyricCharParam(CurLine, LinePos);
if (Param0 = 'E') then