diff options
author | Dundar Goc <gocdundar@gmail.com> | 2022-05-04 22:35:50 +0200 |
---|---|---|
committer | Dundar Goc <gocdundar@gmail.com> | 2022-05-07 14:54:01 +0200 |
commit | 2a378e6e82cececb12339f2df51ffe107039d867 (patch) | |
tree | acf9250e683b303d2a22ff32455100cc4f6802cf /src/nvim/keymap.c | |
parent | d9ec57e16a13f66a4b17edd872786e2c67348752 (diff) | |
download | rneovim-2a378e6e82cececb12339f2df51ffe107039d867.tar.gz rneovim-2a378e6e82cececb12339f2df51ffe107039d867.tar.bz2 rneovim-2a378e6e82cececb12339f2df51ffe107039d867.zip |
refactor: replace char_u variables and functions with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/keymap.c')
-rw-r--r-- | src/nvim/keymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/keymap.c b/src/nvim/keymap.c index 7541837782..3c30389e0b 100644 --- a/src/nvim/keymap.c +++ b/src/nvim/keymap.c @@ -719,10 +719,10 @@ int find_special_key(const char_u **const srcp, const size_t src_len, int *const // Special case for a double-quoted string off = l = 2; } else { - l = utfc_ptr2len(last_dash + 1); + l = utfc_ptr2len((char *)last_dash + 1); } if (modifiers != 0 && last_dash[l + 1] == '>') { - key = utf_ptr2char(last_dash + off); + key = utf_ptr2char((char *)last_dash + off); } else { key = get_special_key_code(last_dash + off); if (!(flags & FSK_KEEP_X_KEY)) { |