[Ebu] - Use pre-defined variable.

This commit is contained in:
Ivandro Ismael 2016-09-07 03:39:07 +01:00
parent db4f7e6ab9
commit 561b67a786
No known key found for this signature in database
GPG Key ID: A8832757DEFB7EDC

View File

@ -586,7 +586,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
else if (header.DisplayStandardCode == "0" && header.MaximumNumberOfDisplayableRows == "02") // open subtitling
rows = 15;
var text = p.Text.Trim(new char[] { '\r', '\n' });
var text = p.Text.Trim(Utilities.NewLineChars);
if (text.StartsWith("{\\an7}", StringComparison.Ordinal) || text.StartsWith("{\\an8}", StringComparison.Ordinal) || text.StartsWith("{\\an9}", StringComparison.Ordinal))
{
tti.VerticalPosition = 1; // top (vertical)