summaryrefslogtreecommitdiffstats
path: root/app/clipboard/clipboard_util_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'app/clipboard/clipboard_util_win.cc')
-rw-r--r--app/clipboard/clipboard_util_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/clipboard/clipboard_util_win.cc b/app/clipboard/clipboard_util_win.cc
index 38927bb..6b09074 100644
--- a/app/clipboard/clipboard_util_win.cc
+++ b/app/clipboard/clipboard_util_win.cc
@@ -143,7 +143,7 @@ FORMATETC* ClipboardUtil::GetFileContentFormatZero() {
FORMATETC* ClipboardUtil::GetWebKitSmartPasteFormat() {
static UINT cf = RegisterClipboardFormat(L"WebKit Smart Paste Format");
- static FORMATETC format = {cf, 0, DVASPECT_CONTENT, 0, TYMED_HGLOBAL};
+ static FORMATETC format = {cf, 0, DVASPECT_CONTENT, -1, TYMED_HGLOBAL};
return &format;
}