mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
refactor(multibyte): eliminate mb_ptr2len alias for utfc_ptr2len
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user