From ec084d3356cc2a23f2f44707810c38ab590d2e66 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 28 Feb 2020 22:44:47 +0100 Subject: patch 8.2.0329: popup filter converts 0x80 bytes Problem: Popup filter converts 0x80 bytes. Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706) --- src/popupwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/popupwin.c') diff --git a/src/popupwin.c b/src/popupwin.c index 8cdb68a49..6402ba3ad 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -2999,7 +2999,7 @@ invoke_popup_filter(win_T *wp, int c) // Convert the number to a string, so that the function can use: // if a:c == "\" - buf[special_to_buf(c, mod_mask, TRUE, buf)] = NUL; + buf[special_to_buf(c, mod_mask, FALSE, buf)] = NUL; argv[1].v_type = VAR_STRING; argv[1].vval.v_string = vim_strsave(buf); -- cgit v1.2.1