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++;
|
FileLineNo++;
|
||||||
if (TempC.CompareTo('P') == 0)
|
if (TempC.CompareTo('P') == 0)
|
||||||
{
|
{
|
||||||
char chr = (char)sr.Read();
|
char chr;
|
||||||
int.TryParse(chr.ToString(), out Param1);
|
while ((chr = (char)sr.Read()) == ' '){ }
|
||||||
|
|
||||||
|
int.TryParse(chr.ToString(), out Param1);
|
||||||
if (Param1 == 1)
|
if (Param1 == 1)
|
||||||
Player = 0;
|
Player = 0;
|
||||||
else if (Param1 == 2)
|
else if (Param1 == 2)
|
||||||
|
|||||||
Reference in new issue
Block a user