diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 12:34:43 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 12:49:09 +0100 |
commit | 9f27e6cbe70643e7b26e0b4f024fad3f75b1950c (patch) | |
tree | f421c46713703228398050f65f610cff8f72c429 /src/nvim/ops.c | |
parent | 2ef9d2a663db35c73b93606dbe882ca697072cc3 (diff) | |
download | rneovim-9f27e6cbe70643e7b26e0b4f024fad3f75b1950c.tar.gz rneovim-9f27e6cbe70643e7b26e0b4f024fad3f75b1950c.tar.bz2 rneovim-9f27e6cbe70643e7b26e0b4f024fad3f75b1950c.zip |
refactor(multibyte): eliminate mb_char2cells alias for utf_char2cells
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index a4b554601e..e072bc58cb 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -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; |