diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 13:34:59 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2021-11-14 16:33:12 +0100 |
commit | 54ff21a15303e1c7dbfde4895c3444daad6df16a (patch) | |
tree | a2b5a7913e2ea8c20d3af1f9af89c2752bf8fdd4 /src/nvim/keymap.c | |
parent | ede00b29d175625479060c5c52e256ec6fc445c1 (diff) | |
download | rneovim-54ff21a15303e1c7dbfde4895c3444daad6df16a.tar.gz rneovim-54ff21a15303e1c7dbfde4895c3444daad6df16a.tar.bz2 rneovim-54ff21a15303e1c7dbfde4895c3444daad6df16a.zip |
refactor(macros): delete multibyte macros which just are aliases
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 81e5cf6ed5..abf016b832 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -692,7 +692,7 @@ int find_special_key(const char_u **srcp, const size_t src_len, int *const modp, l = utfc_ptr2len(last_dash + 1); } if (modifiers != 0 && last_dash[l + 1] == '>') { - key = PTR2CHAR(last_dash + off); + key = utf_ptr2char(last_dash + off); } else { key = get_special_key_code(last_dash + off); if (!keep_x_key) { |