Fix bug in merge with continuation style / Arabic - thx OmrSi :)

Fix #4225
This commit is contained in:
Nikolaj Olsson 2020-06-07 20:37:10 +02:00
parent 9173a28b8b
commit af4c8d6c49

View File

@ -1213,7 +1213,9 @@ namespace Nikse.SubtitleEdit.Core
{ {
var newNextText = RemoveAllPrefixes(nextInput, profile); var newNextText = RemoveAllPrefixes(nextInput, profile);
var newText = RemoveSuffix(input, profile, StartsWithConjunction(newNextText, language)); var newText = RemoveSuffix(input, profile, StartsWithConjunction(newNextText, language));
return new Tuple<string, string>(newText, newNextText);
input = newText;
nextInput = newNextText;
} }
// Convert back for Arabic // Convert back for Arabic