diff src/misc1.c @ 9896:7b39615c0db1 v7.4.2222

commit https://github.com/vim/vim/commit/6bff02eb530aa29aafa2cb5627399837be7a5dd5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 16 22:50:55 2016 +0200 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 #728) Add a test case.
author Christian Brabandt <cb@256bit.org>
date Tue, 16 Aug 2016 23:00:06 +0200
parents fd9727ae3c49
children ff0b4216f026
line wrap: on
line diff
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -3416,7 +3416,7 @@ get_keystroke(void)
 	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;
 	}