mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
vim-browse: segment fault when applied on top of st-clipboard patch ref. #21
This commit is contained in:
parent
e039854635
commit
0325f7c76b
3
x.c
3
x.c
@ -209,9 +209,6 @@ clipcopy(const Arg *dummy)
|
|||||||
|
|
||||||
free(xsel.clipboard);
|
free(xsel.clipboard);
|
||||||
xsel.clipboard = NULL;
|
xsel.clipboard = NULL;
|
||||||
#if VIM_BROWSE_PATCH
|
|
||||||
xsetsel(getsel());
|
|
||||||
#endif // VIM_BROWSE_PATCH
|
|
||||||
|
|
||||||
if (xsel.primary != NULL) {
|
if (xsel.primary != NULL) {
|
||||||
xsel.clipboard = xstrdup(xsel.primary);
|
xsel.clipboard = xstrdup(xsel.primary);
|
||||||
|
Loading…
Reference in New Issue
Block a user