0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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)
This commit is contained in:
Bram Moolenaar
2020-02-28 22:44:47 +01:00
parent e52e0c89d1
commit ec084d3356
3 changed files with 30 additions and 4 deletions

View File

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