Fix problem of spaces between P and number in duet-files.
This commit is contained in:
1 parent
b82b30aea4
commit
daf1848e45
1 file changed
+3
-2
@@ -420,9 +420,10 @@ namespace Vocaluxe.Lib.Song
|
||||
FileLineNo++;
|
||||
if (TempC.CompareTo('P') == 0)
|
||||
{
|
||||
char chr = (char)sr.Read();
|
||||
int.TryParse(chr.ToString(), out Param1);
|
||||
char chr;
|
||||
while ((chr = (char)sr.Read()) == ' '){ }
|
||||
|
||||
int.TryParse(chr.ToString(), out Param1);
|
||||
if (Param1 == 1)
|
||||
Player = 0;
|
||||
else if (Param1 == 2)
|
||||
|
||||
Reference in new issue
Block a user