summaryrefslogtreecommitdiff
path: root/src/popupwin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-28 22:44:47 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-28 22:44:47 +0100
commitec084d3356cc2a23f2f44707810c38ab590d2e66 (patch)
tree338049b463f0c24c7d9d6ccbefb5fd4e479547bc /src/popupwin.c
parente52e0c89d1a6305beca3c01f89a4892dcb43bc71 (diff)
downloadvim-git-ec084d3356cc2a23f2f44707810c38ab590d2e66.tar.gz
patch 8.2.0329: popup filter converts 0x80 bytesv8.2.0329
Problem: Popup filter converts 0x80 bytes. Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes #5706)
Diffstat (limited to 'src/popupwin.c')
-rw-r--r--src/popupwin.c2
1 files changed, 1 insertions, 1 deletions
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 == "\<F2>"
- 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);