Mercurial > vim
view src/typemap @ 16531:5c6bd4431d98 v8.1.1269
patch 8.1.1269: MS-Windows GUI: multibyte chars with a 0x80 byte do not work
commit https://github.com/vim/vim/commit/ed5ab2a95972b5ef588bdafab9f197e1dcf0c1df
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 4 20:00:00 2019 +0200
patch 8.1.1269: MS-Windows GUI: multibyte chars with a 0x80 byte do not work
Problem: MS-Windows GUI: multibyte chars with a 0x80 byte do not work when
compiled with VIMDLL.
Solution: Adjust the condition for fixing the input buffer. (Ken Takata,
closes #4330)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 May 2019 20:15:04 +0200 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")