Fixed crash in "Fix common errors" - thx Dragan B :)

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1083 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2012-04-03 18:16:47 +00:00
parent a25b5c6cbd
commit 03defbbf9f

View File

@ -937,8 +937,6 @@ namespace Nikse.SubtitleEdit.Forms
int idx = p.Text.IndexOf("- ", 2);
while (idx > 0)
{
if (p.Text.ToLower().StartsWith("<i>"))
idx = p.Text.IndexOf("- ", 5);
if (idx > 0 && idx < p.Text.Length - 2)
{
string before = string.Empty;