aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-03-11 00:26:44 -0500
committerJames McCoy <jamessan@jamessan.com>2017-03-11 20:32:39 -0500
commitd72c177b2a743e147e0386f97b07030b49247390 (patch)
tree72aeb690dabe2624cfd43c2b1da011270d15f467 /src/nvim/getchar.c
parent2ed2b1d505cc028347b579f677eb8e6bde9dacdd (diff)
downloadrneovim-d72c177b2a743e147e0386f97b07030b49247390.tar.gz
rneovim-d72c177b2a743e147e0386f97b07030b49247390.tar.bz2
rneovim-d72c177b2a743e147e0386f97b07030b49247390.zip
lint
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index 2a5454cb92..6d1fab138c 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -2488,7 +2488,7 @@ int fix_input_buffer(char_u *buf, int len)
for (i = len; --i >= 0; ++p) {
if (p[0] == NUL
|| (p[0] == K_SPECIAL
- && (i < 2 || p[1] != KS_EXTRA))) {
+ && (i < 2 || p[1] != KS_EXTRA))) {
memmove(p + 3, p + 1, (size_t)i);
p[2] = (char_u)K_THIRD(p[0]);
p[1] = (char_u)K_SECOND(p[0]);