winex11: Fix HRESULT handling in XdndPosition.
Signed-off-by: Shu Yokoyama <yokoyama@graco.c.u-tokyo.ac.jp> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
782666be0d
commit
5ccf039fc7
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue