提交 f627467b 编写于 作者: D denis

6888182: Readable and permitted to delete files could not be transferred through Clipboard and DnD

Reviewed-by: uta
上级 bc2c3e57
......@@ -294,7 +294,7 @@ Java_sun_awt_windows_WClipboard_publishClipboardData(JNIEnv *env,
if (format == CF_HDROP) {
DROPFILES *dropfiles = (DROPFILES *)dataout;
dropfiles->pFiles = sizeof(DROPFILES);
dropfiles->fWide = FALSE; // good guess!
dropfiles->fWide = TRUE; // we publish only Unicode
dataout += sizeof(DROPFILES);
}
......
......@@ -843,7 +843,7 @@ HRESULT __stdcall AwtDragSource::GetData(FORMATETC __RPC_FAR *pFormatEtc,
dropfiles->pt.x = m_dropPoint.x;
dropfiles->pt.y = m_dropPoint.y;
dropfiles->fNC = m_fNC;
dropfiles->fWide = TRUE; // good guess!
dropfiles->fWide = TRUE; // we publish only Unicode
dataout += sizeof(DROPFILES);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册