Fixed clipboard problem where an ascii format was used instead of unicode.

This commit is contained in:
locka%iol.ie 2001-02-05 11:22:32 +00:00
parent 733b2f7004
commit c0c5bbade5

View File

@ -246,7 +246,7 @@ HRESULT STDMETHODCALLTYPE CDropTarget::Drop(/* [unique][in] */ IDataObject __RPC
}
// Does the data object point to a wide character file?
formatetc.cfFormat = g_cfFileName;
formatetc.cfFormat = g_cfFileNameW;
if (m_spDataObject->GetData(&formatetc, &stgmedium) == S_OK)
{
USES_CONVERSION;