Minor auto-correct name fix in spell check

This commit is contained in:
niksedk 2014-09-21 09:12:08 +02:00
parent e11c160073
commit 1a4a3802de

View File

@ -755,8 +755,8 @@ namespace Nikse.SubtitleEdit.Forms
DoAction(SpellCheckAction.ChangeAll);
return;
}
else if (AutoFixNames && _currentWord.Length > 1 && suggestions.Contains(_currentWord.ToUpper()))
{
else if (AutoFixNames && _currentWord.Length > 3 && suggestions.Contains(_currentWord.ToUpper()))
{ // does not work well with two letter words like "da" and "de" which get auto-corrected to "DA" and "DE"
ChangeWord = _currentWord.ToUpper();
DoAction(SpellCheckAction.ChangeAll);
return;