This commit is contained in:
James McCoy
2017-03-11 00:26:44 -05:00
parent 2ed2b1d505
commit d72c177b2a
9 changed files with 78 additions and 81 deletions

View File

@@ -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]);