Commit 81711c75 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

shell32: Don't call Drop without valid target.

parent 484c818f
......@@ -2491,6 +2491,8 @@ static HRESULT WINAPI ISVDropTarget_Drop(IDropTarget *iface, IDataObject* pDataO
{
IShellViewImpl *This = impl_from_IDropTarget(iface);
if (!This->pCurDropTarget) return DRAGDROP_E_INVALIDHWND;
IDropTarget_Drop(This->pCurDropTarget, pDataObject, grfKeyState, pt, pdwEffect);
IDropTarget_Release(This->pCurDropTarget);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment