Fix for es_ANY user word list - thx jdsanchezii :)

Work on #4506
This commit is contained in:
Nikolaj Olsson 2020-11-16 19:00:28 +01:00
parent 5c80a1d554
commit b8f7e76e85

View File

@ -44,7 +44,7 @@ namespace Nikse.SubtitleEdit.Forms
}
string language = comboBoxDictionaries.Text;
if (language.IndexOf('[') > 0)
if (language.IndexOf('[') >= 0)
{
language = language.Substring(language.IndexOf('[')).TrimStart('[');
}