Commit 5ccf039f authored by Shu Yokoyama's avatar Shu Yokoyama Committed by Alexandre Julliard

winex11: Fix HRESULT handling in XdndPosition.

parent 782666be
......@@ -328,7 +328,7 @@ void X11DRV_XDND_PositionEvent( HWND hWnd, XClientMessageEvent *event )
if (dropTarget)
{
hr = IDropTarget_DragOver(dropTarget, MK_LBUTTON, pointl, &effect);
if (hr != S_OK)
if (hr == S_OK)
XDNDDropEffect = effect;
else
WARN("IDropTarget_DragOver failed, error 0x%08X\n", hr);
......
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