forked from aniani/vim
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)
This commit is contained in:
@@ -7149,6 +7149,13 @@ check_clipboard_option()
|
||||
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);
|
||||
|
Reference in New Issue
Block a user