]> granicus.if.org Git - vim/commitdiff
updated for version 7.3.347 v7.3.347
authorBram Moolenaar <Bram@vim.org>
Wed, 26 Oct 2011 09:36:25 +0000 (11:36 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 26 Oct 2011 09:36:25 +0000 (11:36 +0200)
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.

src/gui_gtk_x11.c
src/version.c

index e2f9fc5be04bc4c825364bf0910d80227facebd2..091260942a42b2b85c2bb34f8f0313dc28d97e14 100644 (file)
@@ -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];
index 80c2460bce9669c2057ee39361292666a924348d..7c966e54b2a2f04884a5c59a7c3967eb96042b1f 100644 (file)
@@ -714,6 +714,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    347,
 /**/
     346,
 /**/