mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
Merge pull request #17342 from zeertzjq/mbyte-const
refactor(mbyte.c): add const qualifiers
This commit is contained in:
@@ -574,7 +574,7 @@ static void block_insert(oparg_T *oap, char_u *s, int b_insert, struct block_def
|
||||
if (b_insert) {
|
||||
off = utf_head_off(oldp, oldp + offset + spaces);
|
||||
} else {
|
||||
off = (*mb_off_next)(oldp, oldp + offset);
|
||||
off = mb_off_next(oldp, oldp + offset);
|
||||
offset += off;
|
||||
}
|
||||
spaces -= off;
|
||||
|
Reference in New Issue
Block a user