mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
Minor optimization
This commit is contained in:
parent
63a8c4a121
commit
64375cd574
@ -1626,9 +1626,9 @@ namespace Nikse.SubtitleEdit.Logic.Ocr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
string wordWithCasingChanged = GetWordWithDominatedCasing(word);
|
|
||||||
if (DoSpell(word.ToLowerInvariant()))
|
if (DoSpell(word.ToLowerInvariant()))
|
||||||
{
|
{
|
||||||
|
var wordWithCasingChanged = GetWordWithDominatedCasing(word);
|
||||||
guesses.Insert(0, wordWithCasingChanged);
|
guesses.Insert(0, wordWithCasingChanged);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user