diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2022-08-02 11:52:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-02 11:52:33 +0200 |
commit | c223875a65dd703e42956e064239369817faa0b2 (patch) | |
tree | 1fdb2f144ef4d9e8650f87344149c00a5eb47b8d /src/nvim/ops.c | |
parent | 0a049c322fda5f2bb124429086c2713ff99c7142 (diff) | |
download | rneovim-c223875a65dd703e42956e064239369817faa0b2.tar.gz rneovim-c223875a65dd703e42956e064239369817faa0b2.tar.bz2 rneovim-c223875a65dd703e42956e064239369817faa0b2.zip |
refactor: rename function prefix mb to the more accurate utf_cp (#19590)
The "cp" stands for codepoint.
Closes https://github.com/neovim/neovim/issues/7401
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 0bcc5ecd0e..660902b10b 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1828,7 +1828,7 @@ static void mb_adjust_opend(oparg_T *oap) { if (oap->inclusive) { char *p = (char *)ml_get(oap->end.lnum); - oap->end.col += mb_tail_off(p, p + oap->end.col); + oap->end.col += utf_cp_tail_off(p, p + oap->end.col); } } |