mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
[Ebu] - Use pre-defined variable.
This commit is contained in:
parent
db4f7e6ab9
commit
561b67a786
@ -586,7 +586,7 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
|||||||
else if (header.DisplayStandardCode == "0" && header.MaximumNumberOfDisplayableRows == "02") // open subtitling
|
else if (header.DisplayStandardCode == "0" && header.MaximumNumberOfDisplayableRows == "02") // open subtitling
|
||||||
rows = 15;
|
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))
|
if (text.StartsWith("{\\an7}", StringComparison.Ordinal) || text.StartsWith("{\\an8}", StringComparison.Ordinal) || text.StartsWith("{\\an9}", StringComparison.Ordinal))
|
||||||
{
|
{
|
||||||
tti.VerticalPosition = 1; // top (vertical)
|
tti.VerticalPosition = 1; // top (vertical)
|
||||||
|
Loading…
Reference in New Issue
Block a user