Mercurial > vim
view src/typemap @ 24041:580ee78577e9 v8.2.2562
patch 8.2.2562: GUI: star register changed when 'clipboard is "unnamedplus"
Commit: https://github.com/vim/vim/commit/37096afd3f3133a831ab49a9677f090c3c935c9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 2 19:04:11 2021 +0100
patch 8.2.2562: GUI: star register changed when 'clipboard is "unnamedplus"
Problem: GUI: star register changed when 'clipboard is "unnamedplus". (Ingo
Karkat)
Solution: Do not change the star register when 'clipboard' contains
"unnamedplus" and not "unnamed". (closes #1516)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 02 Mar 2021 19:15:03 +0100 |
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}\")