diff options
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) { |