]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common source file change; not directly applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:21 +0000 (11:23 -0700)
committerOliver Kurth <okurth@vmware.com>
Fri, 15 Sep 2017 18:23:21 +0000 (11:23 -0700)
open-vm-tools/services/plugins/dndcp/dnd/dndClipboard.c

index 1a403712e55d5f93440395ce2b9519749f172517..cfb4906cbb663ec9e90d68e6823906df8ae6c157 100644 (file)
@@ -276,11 +276,14 @@ CPClipboard_SetItem(CPClipboard *clip,          // IN/OUT: the clipboard
    CPClipItem *item;
    uint8 *newBuf = NULL;
    /*
-    * Image, rtf and text may be put into a clipboard at same time, and total
-    * size may be more than limit. Image data will be first dropped, then
-    * rtf data.
+    * Microsoft Office Text Effects i.e. HTML Format, image, rtf and text may
+    * be put into a clipboard at same time, and total size may be more than
+    * limit. HTML format will be first dropped, then image and then rtf data.
     */
-   DND_CPFORMAT filterList[] = {CPFORMAT_IMG_PNG, CPFORMAT_RTF, CPFORMAT_TEXT};
+   DND_CPFORMAT filterList[] = {CPFORMAT_HTML_FORMAT,
+                                CPFORMAT_IMG_PNG,
+                                CPFORMAT_RTF,
+                                CPFORMAT_TEXT};
    int filterIndex = 0;
 
    ASSERT(clip);