Fix bug in split with continuation style / Arabic

This commit is contained in:
OmrSi 2020-08-03 23:41:00 +03:00
parent e7bcfa45dc
commit 440751edbb

View File

@ -9972,7 +9972,7 @@ namespace Nikse.SubtitleEdit.Forms
if (continuationStyle != ContinuationStyle.None)
{
if (language == "ar")
if (languageOriginal == "ar")
{
originalCurrent.Text = ContinuationUtilities.ConvertToForArabic(originalCurrent.Text);
originalNew.Text = ContinuationUtilities.ConvertToForArabic(originalNew.Text);
@ -9985,7 +9985,7 @@ namespace Nikse.SubtitleEdit.Forms
originalNew.Text = ContinuationUtilities.AddPrefixIfNeeded(originalNew.Text, continuationProfile, false);
}
if (language == "ar")
if (languageOriginal == "ar")
{
originalCurrent.Text = ContinuationUtilities.ConvertBackForArabic(originalCurrent.Text);
originalNew.Text = ContinuationUtilities.ConvertBackForArabic(originalNew.Text);