]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common source file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Thu, 28 Mar 2019 19:42:59 +0000 (12:42 -0700)
committerOliver Kurth <okurth@vmware.com>
Thu, 28 Mar 2019 19:42:59 +0000 (12:42 -0700)
open-vm-tools/services/plugins/dndcp/dnd/dndClipboard.c

index a7b990277070c8972ef2d5ad63139208cdfda40a..d6b9ee88910818964ec79a333db86d77625cf193 100644 (file)
@@ -281,8 +281,11 @@ CPClipboard_SetItem(CPClipboard *clip,          // IN/OUT: the clipboard
     * more than limit. The order in filterList determines the order in which
     * the format will be fiiltered, e.g. HTML format will be first dropped,
     * then GVML,..., at last TEXT
+    * File content won't appear tegother with other formats, if exceeding size
+    * limit, the format will be dropped
     */
-   DND_CPFORMAT filterList[] = {CPFORMAT_HTML_FORMAT,
+   DND_CPFORMAT filterList[] = {CPFORMAT_FILECONTENTS,
+                                CPFORMAT_HTML_FORMAT,
                                 CPFORMAT_ART_GVML_CLIPFORMAT,
                                 CPFORMAT_BIFF12,
                                 CPFORMAT_IMG_PNG,