From b8f7e76e85b649ca65d361cf689093f0757c4fab Mon Sep 17 00:00:00 2001 From: Nikolaj Olsson Date: Mon, 16 Nov 2020 19:00:28 +0100 Subject: [PATCH] Fix for es_ANY user word list - thx jdsanchezii :) Work on #4506 --- src/Forms/AddToUserDic.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/AddToUserDic.cs b/src/Forms/AddToUserDic.cs index 4ab933553..29979bf04 100644 --- a/src/Forms/AddToUserDic.cs +++ b/src/Forms/AddToUserDic.cs @@ -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('['); }