patch 7.4.877
Problem: ":find" sometimes fails. (Excanoe)
Solution: Compare current characters instead of previous ones.
diff --git a/src/misc2.c b/src/misc2.c
index 407d6b5..4f82117 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -5084,7 +5084,7 @@
i += MB_PTR2LEN(s1 + i);
j += MB_PTR2LEN(s2 + j);
}
- return c1 == c2;
+ return s1[i] == s2[j];
}
#endif
diff --git a/src/version.c b/src/version.c
index b24af23..1c9eeed 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 877,
+/**/
876,
/**/
875,