mirror of
https://github.com/neovim/neovim.git
synced 2025-09-17 08:48:16 +00:00
refactor(multibyte): eliminate mb_char2cells alias for utf_char2cells
This commit is contained in:
@@ -1837,7 +1837,7 @@ int op_replace(oparg_T *oap, int c)
|
||||
|
||||
// A double-wide character can be replaced only up to half the
|
||||
// times.
|
||||
if ((*mb_char2cells)(c) > 1) {
|
||||
if (utf_char2cells(c) > 1) {
|
||||
if ((numc & 1) && !bd.is_short) {
|
||||
++bd.endspaces;
|
||||
++n;
|
||||
|
Reference in New Issue
Block a user