forked from aniani/vim
updated for version 7.3.347
Problem: When dropping text from a browser on Vim it receives HTML even though "html" is excluded from 'clipboard'. (Andrei Avk) Solution: Fix the condition for TARGET_HTML.
This commit is contained in:
parent
1514667a24
commit
b931d74b06
@ -3081,7 +3081,7 @@ gui_gtk_set_dnd_targets(void)
|
||||
|
||||
for (i = 0; i < (int)N_DND_TARGETS; ++i)
|
||||
{
|
||||
if (!clip_html && selection_targets[i].info == TARGET_HTML)
|
||||
if (!clip_html && dnd_targets[i].info == TARGET_HTML)
|
||||
n_targets--;
|
||||
else
|
||||
targets[j++] = dnd_targets[i];
|
||||
|
@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
347,
|
||||
/**/
|
||||
346,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user