From 54ff21a15303e1c7dbfde4895c3444daad6df16a Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sun, 14 Nov 2021 13:34:59 +0100 Subject: refactor(macros): delete multibyte macros which just are aliases --- src/nvim/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/keymap.c') 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) { -- cgit