Work on export

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

View File

@ -399,9 +399,9 @@ namespace Nikse.SubtitleEdit.Forms
cps.ToString(CultureInfo.InvariantCulture).Replace(".", ","), cps.ToString(CultureInfo.InvariantCulture).Replace(".", ","),
cps.ToString(CultureInfo.InvariantCulture), cps.ToString(CultureInfo.InvariantCulture),
text.Length, text.Length,
p.Text.RemoveChar('\r','\n').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); p.Text.RemoveChar('\r', '\n').Length + (lines.Count - 1) * 2);
s = s.Replace("@@@@_@@@", "{"); s = s.Replace("@@@@_@@@", "{");
s = s.Replace("@@@_@@@@", "}"); s = s.Replace("@@@_@@@@", "}");
return s; return s;