Work on export

This commit is contained in:
niksedk 2022-03-08 18:35:59 +01:00
parent ab5b9c14b1
commit cd115f6f55

View File

@ -401,7 +401,7 @@ namespace Nikse.SubtitleEdit.Forms
text.Length,
p.Text.RemoveChar('\r', '\n').Length,
p.Text.RemoveChar('\r', '\n').Length + lines.Count - 1,
p.Text.RemoveChar('\r', '\n').Length + lines.Count - 1);
p.Text.RemoveChar('\r', '\n').Length + (lines.Count - 1) * 2);
s = s.Replace("@@@@_@@@", "{");
s = s.Replace("@@@_@@@@", "}");
return s;