mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-24 20:22:41 +01:00
Fix for last commit
This commit is contained in:
parent
36d81029d2
commit
48d4558352
@ -479,10 +479,7 @@ namespace Nikse.SubtitleEdit.Forms.Translate
|
||||
{
|
||||
var part = GetPartFromItem(text, item);
|
||||
text = text.Remove(0, part.Length).Trim();
|
||||
if (text.Length > Configuration.Settings.General.SubtitleLineMaximumLength)
|
||||
{
|
||||
lines.Add(Utilities.AutoBreakLine(part));
|
||||
}
|
||||
lines.Add(text.Length > Configuration.Settings.General.SubtitleLineMaximumLength ? Utilities.AutoBreakLine(part) : part);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user