mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 11:12:36 +01:00
parent
5c80a1d554
commit
b8f7e76e85
@ -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('[');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user