Commit 0b6d74c4 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winex11.drv: Fix typo so that emf -> mfpict synthesis works.

parent 0d4451a8
......@@ -247,10 +247,9 @@ static void test_synthesized(void)
ok(cf == CF_UNICODETEXT, "cf %08x\n", cf);
cf = EnumClipboardFormats(cf);
todo_wine ok(cf == CF_METAFILEPICT, "cf %08x\n", cf);
if(cf == CF_METAFILEPICT)
cf = EnumClipboardFormats(cf);
ok(cf == CF_METAFILEPICT, "cf %08x\n", cf);
cf = EnumClipboardFormats(cf);
ok(cf == 0, "cf %08x\n", cf);
r = EmptyClipboard();
......
......@@ -2746,7 +2746,7 @@ static BOOL X11DRV_CLIPBOARD_SynthesizeData(UINT wFormatID)
}
else if (wFormatID == CF_METAFILEPICT)
{
bsyn = (lpSource = X11DRV_CLIPBOARD_LookupData(CF_METAFILEPICT)) &&
bsyn = (lpSource = X11DRV_CLIPBOARD_LookupData(CF_ENHMETAFILE)) &&
~lpSource->wFlags & CF_FLAG_SYNTHESIZED;
}
else if (wFormatID == CF_DIB)
......
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