Commit efbd5298 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

ole32: Fix DROPEFFECT value in OLEDD_TrackStateChange.

parent 68d3a136
...@@ -2264,7 +2264,8 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo) ...@@ -2264,7 +2264,8 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
IDropTarget_DragOver(trackerInfo->curDragTarget, IDropTarget_DragOver(trackerInfo->curDragTarget,
trackerInfo->dwKeyState, trackerInfo->dwKeyState,
trackerInfo->curMousePos, trackerInfo->curMousePos,
trackerInfo->pdwEffect); trackerInfo->pdwEffect);
*trackerInfo->pdwEffect &= trackerInfo->dwOKEffect;
} }
else else
{ {
...@@ -2306,6 +2307,7 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo) ...@@ -2306,6 +2307,7 @@ static void OLEDD_TrackStateChange(TrackerWindowInfo* trackerInfo)
trackerInfo->dwKeyState, trackerInfo->dwKeyState,
trackerInfo->curMousePos, trackerInfo->curMousePos,
trackerInfo->pdwEffect); trackerInfo->pdwEffect);
*trackerInfo->pdwEffect &= trackerInfo->dwOKEffect;
/* failed DragEnter() means invalid target */ /* failed DragEnter() means invalid target */
if (hr != S_OK) if (hr != S_OK)
......
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