mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-26 05:02:36 +01:00
[Bugfix] - Fix possible bug last 'word' wrong index
This commit is contained in:
parent
f75f35b103
commit
99af3659be
@ -320,7 +320,7 @@ namespace Nikse.SubtitleEdit.Core.SpellCheck
|
||||
}
|
||||
}
|
||||
if (sb.Length > 0)
|
||||
list.Add(new SpellCheckWord { Text = sb.ToString(), Index = s.Length - 1 - sb.Length });
|
||||
list.Add(new SpellCheckWord { Text = sb.ToString(), Index = s.Length - sb.Length });
|
||||
return list;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user