diff options
author | ZviRackover <zvirack@gmail.com> | 2018-09-02 00:58:30 +0300 |
---|---|---|
committer | ZviRackover <zvirack@gmail.com> | 2018-09-09 10:45:50 +0300 |
commit | cbdbc4f63d68a6b17b9eea5c67130e37d3d0f278 (patch) | |
tree | 5d82993e830a807647ec81aad1d5a391e4490cb0 /src/nvim/ops.c | |
parent | 50eadfe2e991a0bb5fe0f98377d91702f0a20492 (diff) | |
download | rneovim-cbdbc4f63d68a6b17b9eea5c67130e37d3d0f278.tar.gz rneovim-cbdbc4f63d68a6b17b9eea5c67130e37d3d0f278.tar.bz2 rneovim-cbdbc4f63d68a6b17b9eea5c67130e37d3d0f278.zip |
Refactor: Remove occurences of mb_char2bytes
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 23948df769..fcfadbfd28 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1739,7 +1739,7 @@ int op_replace(oparg_T *oap, int c) int newp_len = bd.textcol + bd.startspaces; if (has_mbyte) { while (--num_chars >= 0) { - newp_len += (*mb_char2bytes)(c, newp + newp_len); + newp_len += utf_char2bytes(c, newp + newp_len); } } else { memset(newp + newp_len, c, (size_t)numc); |