0
0
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:
Bram Moolenaar
2015-09-25 16:38:01 +02:00
parent b0262f239e
commit 4d0c7bc74a
2 changed files with 3 additions and 1 deletions

View File

@@ -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