Fix possible bug!

This commit is contained in:
ivandrofly 2014-07-04 11:18:20 +00:00
parent efe722ce0e
commit e0fd7d84c0

View File

@ -4149,7 +4149,7 @@ namespace Nikse.SubtitleEdit.Logic
int i2 = 0;
int i = 0;
int c = 0;
while (i < Math.Max(parts2.Length, parts2.Length) && i1 < parts1.Length && i2 < parts2.Length)
while (i < Math.Max(parts1.Length, parts2.Length) && i1 < parts1.Length && i2 < parts2.Length)
{
if (parts1[i1] == parts2[i2])
{