mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-09 05:14:24 +00:00
Fixed clipboard problem where an ascii format was used instead of unicode.
This commit is contained in:
parent
733b2f7004
commit
c0c5bbade5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user