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/keymap.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/keymap.c')
-rw-r--r-- | src/nvim/keymap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index fc2f9b04f5..b17ce5d668 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -689,7 +689,7 @@ int find_special_key(const char_u **srcp, const size_t src_len, int *const modp, // Special case for a double-quoted string off = l = 2; } else { - l = mb_ptr2len(last_dash + 1); + l = utfc_ptr2len(last_dash + 1); } if (modifiers != 0 && last_dash[l + 1] == '>') { key = PTR2CHAR(last_dash + off); |