mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.877
Problem: ":find" sometimes fails. (Excanoe) Solution: Compare current characters instead of previous ones.
This commit is contained in:
@@ -5084,7 +5084,7 @@ ff_wc_equal(s1, s2)
|
|||||||
i += MB_PTR2LEN(s1 + i);
|
i += MB_PTR2LEN(s1 + i);
|
||||||
j += MB_PTR2LEN(s2 + j);
|
j += MB_PTR2LEN(s2 + j);
|
||||||
}
|
}
|
||||||
return c1 == c2;
|
return s1[i] == s2[j];
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
877,
|
||||||
/**/
|
/**/
|
||||||
876,
|
876,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user