Fix #14 (short-song-mode).

This commit is contained in:
Florian Küpper committed 2013-04-08 12:05:03 +02:00
1 parent dbcc30adb5
commit 0136198313
1 file changed
+1 -1
+1 -1
View File
@@ -1000,7 +1000,7 @@ namespace VocaluxeLib.Menu.SongMenu
CLines lines = Notes.GetLines(0);
//Calculate length of singing
int stop = (lines.Line[lines.Line.Length - 1].LastNoteBeat - lines.Line[0].FirstNoteBeat) / 2 + lines.Line[0].StartBeat;
int stop = (lines.Line[lines.Line.Length - 1].LastNoteBeat - lines.Line[0].FirstNote.StartBeat) / 2 + lines.Line[0].FirstNote.StartBeat;
//Check if stop is in series
for (int i = 0; i < series.Count; i++)