vim-browse: segment fault when applied on top of st-clipboard patch ref. #21

This commit is contained in:
bakkeby 2021-05-09 19:53:25 +02:00
parent e039854635
commit 0325f7c76b

3
x.c
View File

@ -209,9 +209,6 @@ clipcopy(const Arg *dummy)
free(xsel.clipboard);
xsel.clipboard = NULL;
#if VIM_BROWSE_PATCH
xsetsel(getsel());
#endif // VIM_BROWSE_PATCH
if (xsel.primary != NULL) {
xsel.clipboard = xstrdup(xsel.primary);