updated for version 7.2.442
Problem: Copy/paste with OpenOffice doesn't work.
Solution: Do not offer the HTML target when it is not supported. (James
Vega)
diff --git a/src/option.c b/src/option.c
index a4af18a..b5392dd 100644
--- a/src/option.c
+++ b/src/option.c
@@ -7149,6 +7149,13 @@
clip_html = new_html;
vim_free(clip_exclude_prog);
clip_exclude_prog = new_exclude_prog;
+#ifdef FEAT_GUI_GTK
+ if (gui.in_use)
+ {
+ gui_gtk_set_selection_targets();
+ gui_gtk_set_dnd_targets();
+ }
+#endif
}
else
vim_free(new_exclude_prog);