Commit 455e334a authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winemac: Use NtUserSetClipboardData in set_win32_clipboard_formats_from_mac_pasteboard.

parent 36e2d7e9
...@@ -1473,8 +1473,9 @@ static void set_win32_clipboard_formats_from_mac_pasteboard(CFArrayRef types) ...@@ -1473,8 +1473,9 @@ static void set_win32_clipboard_formats_from_mac_pasteboard(CFArrayRef types)
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
struct set_clipboard_params params = { 0 };
TRACE("adding format %s\n", debugstr_format(formats[i]->format_id)); TRACE("adding format %s\n", debugstr_format(formats[i]->format_id));
SetClipboardData(formats[i]->format_id, 0); NtUserSetClipboardData(formats[i]->format_id, 0, &params);
} }
free(current_mac_formats); free(current_mac_formats);
......
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