# HG changeset patch # User Christian Brabandt # Date 1443192304 -7200 # Node ID cc5570ed684e35b8c9a3888488718f6182394cc5 # Parent c9fded1d8844b31a3ad48755ba49051d7e93be5c commit https://github.com/vim/vim/commit/4d0c7bc74ac6fad5cb599dc3ade6996e848d83b6 Author: Bram Moolenaar Date: Fri Sep 25 16:38:01 2015 +0200 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 --- a/src/misc2.c +++ b/src/misc2.c @@ -5084,7 +5084,7 @@ ff_wc_equal(s1, s2) 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 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 877, +/**/ 876, /**/ 875,