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

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-02-01 12:59:01 +03:00 committed by Alexandre Julliard
parent 2b6426da65
commit c090b35d99
1 changed files with 1 additions and 1 deletions

View File

@ -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);