diff options
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; |