mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
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:
parent
a25b5c6cbd
commit
03defbbf9f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user