Commit 6299e8a5 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winemac.drv: Call GlobalReAlloc with GMEM_MOVEABLE flag.

parent dfd44bb9
......@@ -105,7 +105,7 @@ static HANDLE get_pasteboard_data(UINT64 pasteboard, UINT desired_format)
params.data = GlobalLock(handle);
status = MACDRV_CALL(dnd_get_data, &params);
GlobalUnlock(handle);
if (!status) return GlobalReAlloc(handle, params.size, 0);
if (!status) return GlobalReAlloc(handle, params.size, GMEM_MOVEABLE);
GlobalFree(handle);
if (status != STATUS_BUFFER_OVERFLOW) return 0;
}
......
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