From 03defbbf9f66f3c01be31b467fed31f410e0fd26 Mon Sep 17 00:00:00 2001 From: niksedk Date: Tue, 3 Apr 2012 18:16:47 +0000 Subject: [PATCH] Fixed crash in "Fix common errors" - thx Dragan B :) git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@1083 99eadd0c-20b8-1223-b5c4-2a2b2df33de2 --- src/Forms/FixCommonErrors.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Forms/FixCommonErrors.cs b/src/Forms/FixCommonErrors.cs index 8abc2513f..926fc8590 100644 --- a/src/Forms/FixCommonErrors.cs +++ b/src/Forms/FixCommonErrors.cs @@ -937,8 +937,6 @@ namespace Nikse.SubtitleEdit.Forms int idx = p.Text.IndexOf("- ", 2); while (idx > 0) { - if (p.Text.ToLower().StartsWith("")) - idx = p.Text.IndexOf("- ", 5); if (idx > 0 && idx < p.Text.Length - 2) { string before = string.Empty;