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);
|
||||
j += MB_PTR2LEN(s2 + j);
|
||||
}
|
||||
return c1 == c2;
|
||||
return s1[i] == s2[j];
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user