aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-11-15 18:18:12 +0100
committerGitHub <noreply@github.com>2020-11-15 18:18:12 +0100
commit1b8867ab39ecc25d454ca67e3cb8b3ef5fca9ed3 (patch)
tree1c169437d934d30564b42127b11e888fde04a2fd /test
parentbcadf324cb6516369cb89da9bb1e8056f6fb91bb (diff)
parent87aaa8e837d873577ee6a908a387f40e3548bcb6 (diff)
downloadrneovim-1b8867ab39ecc25d454ca67e3cb8b3ef5fca9ed3.tar.gz
rneovim-1b8867ab39ecc25d454ca67e3cb8b3ef5fca9ed3.tar.bz2
rneovim-1b8867ab39ecc25d454ca67e3cb8b3ef5fca9ed3.zip
Merge pull request #13293 from janlazo/vim-8.2.1976
vim-patch:8.2.{1979,1981,1982,1985,1987}
Diffstat (limited to 'test')
-rw-r--r--test/symbolic/klee/nvim/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/symbolic/klee/nvim/keymap.c b/test/symbolic/klee/nvim/keymap.c
index 07eb4fa70a..ed5f95a344 100644
--- a/test/symbolic/klee/nvim/keymap.c
+++ b/test/symbolic/klee/nvim/keymap.c
@@ -545,7 +545,7 @@ unsigned int trans_special(const char_u **srcp, const size_t src_len,
dst[dlen++] = K_SPECIAL;
dst[dlen++] = (char_u)KEY2TERMCAP0(key);
dst[dlen++] = KEY2TERMCAP1(key);
- } else if (has_mbyte && !keycode) {
+ } else if (!keycode) {
dlen += (unsigned int)(*mb_char2bytes)(key, dst + dlen);
} else if (keycode) {
char_u *after = add_char2buf(key, dst + dlen);