Fix possible "double fix" in "Fix Uppercase I Inside Words"

This commit is contained in:
Nikolaj Olsson 2017-10-26 00:09:17 +02:00
parent 39bf3cef40
commit c06a29a45c

View File

@ -33,6 +33,7 @@ namespace Nikse.SubtitleEdit.Core.Forms.FixCommonErrors
if (match.Index + 2 < oldText.Length) if (match.Index + 2 < oldText.Length)
p.Text += oldText.Substring(match.Index + 2); p.Text += oldText.Substring(match.Index + 2);
st = new StrippableText(p.Text);
uppercaseIsInsideLowercaseWords++; uppercaseIsInsideLowercaseWords++;
callbacks.AddFixToListView(p, fixAction, oldText, p.Text); callbacks.AddFixToListView(p, fixAction, oldText, p.Text);
} }