Fix a test using the NewLineChars

This commit is contained in:
_aLfa_ 2014-09-17 22:26:53 +02:00
parent 0e08da9165
commit 7909d72387

View File

@ -627,7 +627,7 @@ Dialogue: Marked=0,0:00:01.00,0:00:03.00,Default,NTP,0000,0000,0000,!Effect," +
var sub2 = new Subtitle();
List<string> lines = new List<string>();
foreach (string line in text.Split(Utilities.NewLineChars, StringSplitOptions.RemoveEmptyEntries))
foreach (string line in text.Split(Environment.NewLine.ToCharArray(), StringSplitOptions.RemoveEmptyEntries))
lines.Add(line);
target.LoadSubtitle(sub2, lines, null);