aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2017-03-10 21:22:42 -0500
committerJames McCoy <jamessan@jamessan.com>2017-03-11 20:32:27 -0500
commiteaf1f9b9dc62b2201fa54374a88029de1b3f94fb (patch)
tree6492d34391179a42505d237cd375a67404c0ac29 /src/nvim/misc1.c
parent564e9dc17fd53ab6cb1bc63a55dba2df9538a31f (diff)
downloadrneovim-eaf1f9b9dc62b2201fa54374a88029de1b3f94fb.tar.gz
rneovim-eaf1f9b9dc62b2201fa54374a88029de1b3f94fb.tar.bz2
rneovim-eaf1f9b9dc62b2201fa54374a88029de1b3f94fb.zip
vim-patch:7.4.2222
Problem: Sourcing a script where a character has 0x80 as a second byte does not work. (Filipe L B Correia) Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian Brabandt, closes vim/vim#728) Add a test case. https://github.com/vim/vim/commit/6bff02eb530aa29aafa2cb5627399837be7a5dd5
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index d49d1d8a21..09549e86ca 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -2322,7 +2322,7 @@ int get_keystroke(void)
n = os_inchar(buf + len, maxlen, len == 0 ? -1L : 100L, 0);
if (n > 0) {
/* Replace zero and CSI by a special key code. */
- n = fix_input_buffer(buf + len, n, FALSE);
+ n = fix_input_buffer(buf + len, n);
len += n;
waited = 0;
} else if (len > 0)