Commit c090b35d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

gdiplus/metafile: Fix copy-paste typo when setting resolution (Coverity).

parent 2b6426da
......@@ -4078,7 +4078,7 @@ GpStatus WINGDIPAPI GdipCreateMetafileFromEmf(HENHMETAFILE hemf, BOOL delete,
* If clear, metafile was recorded with a DC for a printer */
(*metafile)->printer_display = !(header.EmfPlusFlags & (1u << 31));
(*metafile)->logical_dpix = header.LogicalDpiX;
(*metafile)->logical_dpix = header.LogicalDpiY;
(*metafile)->logical_dpiy = header.LogicalDpiY;
list_init(&(*metafile)->containers);
TRACE("<-- %p\n", *metafile);
......
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