[OcrFixEngine] - Go with less expensive first.

This commit is contained in:
Ivandro Ismael 2017-03-22 05:05:29 +00:00
parent d97a6de498
commit 87d3517704

View File

@ -1100,7 +1100,7 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
}
foreach (string guess in guesses)
{
if (IsWordOrWordsCorrect(guess) && !guess.StartsWith("f "))
if (!guess.StartsWith("f ", StringComparison.Ordinal) && IsWordOrWordsCorrect(guess))
{
string replacedLine = OcrFixReplaceList.ReplaceWord(line, word, guess);
if (replacedLine != line)