From 01361983136f137361280f21fc37dc25ab9a4407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=BCpper?= Date: Mon, 8 Apr 2013 12:05:03 +0200 Subject: [PATCH] Fix #14 (short-song-mode). --- VocaluxeLib/Menu/SongMenu/CSong.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VocaluxeLib/Menu/SongMenu/CSong.cs b/VocaluxeLib/Menu/SongMenu/CSong.cs index 8dabe808..e03d8434 100644 --- a/VocaluxeLib/Menu/SongMenu/CSong.cs +++ b/VocaluxeLib/Menu/SongMenu/CSong.cs @@ -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++)