ydiff.c: minor fix for more pretty show diff.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
Daniel Borca 2010-04-30 08:44:08 +04:00 committed by Ilia Maslakov
parent 35950d65c1
commit bc0ad94461

View File

@ -1127,7 +1127,7 @@ lcsubstr (const char *s, int m, const char *t, int n, GArray * ret, int min)
{ {
break; break;
} }
if ((*p)[1] == off1) if ((*p)[1] >= off1)
{ {
break; break;
} }