mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 14:32:35 +01:00
Fixed bug in spell check
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@755 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
c23cbadc4e
commit
edcac1e0e1
@ -82,7 +82,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
string name = comboBoxDictionaries.SelectedItem.ToString();
|
||||
int start = name.LastIndexOf("[");
|
||||
int end = name.LastIndexOf("]");
|
||||
if (start > 0 && end > start)
|
||||
if (start >= 0 && end > start)
|
||||
{
|
||||
start++;
|
||||
name = name.Substring(start, end - start);
|
||||
|
Loading…
Reference in New Issue
Block a user