From 6bff02eb530aa29aafa2cb5627399837be7a5dd5 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 16 Aug 2016 22:50:55 +0200 Subject: 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. --- src/proto/getchar.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/proto') diff --git a/src/proto/getchar.pro b/src/proto/getchar.pro index dc117b0ac..de33bfd14 100644 --- a/src/proto/getchar.pro +++ b/src/proto/getchar.pro @@ -47,7 +47,7 @@ int vpeekc_nomap(void); int vpeekc_any(void); int char_avail(void); void vungetc(int c); -int fix_input_buffer(char_u *buf, int len, int script); +int fix_input_buffer(char_u *buf, int len); int input_available(void); int do_map(int maptype, char_u *arg, int mode, int abbrev); int get_map_mode(char_u **cmdp, int forceit); -- cgit v1.2.3