mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 693263 - Support CF_HDROP format for drag and dropped files. r=neil.
This commit is contained in:
parent
618bbc4d80
commit
b522020496
@ -367,6 +367,9 @@ nsDragService::GetNumDropItems(PRUint32 * aNumItems)
|
||||
*aNumItems = ::DragQueryFileW(hdrop, 0xFFFFFFFF, NULL, 0);
|
||||
::GlobalUnlock(stm.hGlobal);
|
||||
::ReleaseStgMedium(&stm);
|
||||
// Data may be provided later, so assume we have 1 item
|
||||
if (*aNumItems == 0)
|
||||
*aNumItems = 1;
|
||||
}
|
||||
else
|
||||
*aNumItems = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user