diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 12:40:46 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 12:49:12 +0100 |
commit | 0039ba04b0c907a6d23a0c07ed272f38c58c9739 (patch) | |
tree | 79b2dd9535e52d819fbddf2d02f3aff0db2ccc34 /src/nvim/ex_cmds.c | |
parent | 9f27e6cbe70643e7b26e0b4f024fad3f75b1950c (diff) | |
download | rneovim-0039ba04b0c907a6d23a0c07ed272f38c58c9739.tar.gz rneovim-0039ba04b0c907a6d23a0c07ed272f38c58c9739.tar.bz2 rneovim-0039ba04b0c907a6d23a0c07ed272f38c58c9739.zip |
refactor(multibyte): eliminate mb_ptr2len alias for utfc_ptr2len
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 1bd9411fa5..145fe33284 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -3771,7 +3771,7 @@ static buf_T *do_sub(exarg_T *eap, proftime_T timeout, bool do_buf_event, handle skip_match = true; } else { // search for a match at next column - matchcol += mb_ptr2len(sub_firstline + matchcol); + matchcol += utfc_ptr2len(sub_firstline + matchcol); } // match will be pushed to preview_lines, bring it into a proper state current_match.start.col = matchcol; |