comparison src/popupwin.c @ 19544:167181848770 v8.2.0329

patch 8.2.0329: popup filter converts 0x80 bytes Commit: https://github.com/vim/vim/commit/ec084d3356cc2a23f2f44707810c38ab590d2e66 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 28 22:44:47 2020 +0100 patch 8.2.0329: popup filter converts 0x80 bytes Problem: Popup filter converts 0x80 bytes. Solution: Keep 0x80 bytes as-is. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/5706)
author Bram Moolenaar <Bram@vim.org>
date Fri, 28 Feb 2020 22:45:08 +0100
parents 9e428147e4ee
children 71d0c4f5fcd9
comparison
equal deleted inserted replaced
19543:86f834bd45fc 19544:167181848770
2997 argv[0].v_type = VAR_NUMBER; 2997 argv[0].v_type = VAR_NUMBER;
2998 argv[0].vval.v_number = (varnumber_T)wp->w_id; 2998 argv[0].vval.v_number = (varnumber_T)wp->w_id;
2999 2999
3000 // Convert the number to a string, so that the function can use: 3000 // Convert the number to a string, so that the function can use:
3001 // if a:c == "\<F2>" 3001 // if a:c == "\<F2>"
3002 buf[special_to_buf(c, mod_mask, TRUE, buf)] = NUL; 3002 buf[special_to_buf(c, mod_mask, FALSE, buf)] = NUL;
3003 argv[1].v_type = VAR_STRING; 3003 argv[1].v_type = VAR_STRING;
3004 argv[1].vval.v_string = vim_strsave(buf); 3004 argv[1].vval.v_string = vim_strsave(buf);
3005 3005
3006 argv[2].v_type = VAR_UNKNOWN; 3006 argv[2].v_type = VAR_UNKNOWN;
3007 3007