Huw Davies : gdi32: Remove second initialization of emf->dc_attr.

Alexandre Julliard julliard at winehq.org
Tue May 24 15:55:00 CDT 2022


Module: wine
Branch: master
Commit: 0c8a076e78c033768cbb259f3220a3a64b4ed686
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0c8a076e78c033768cbb259f3220a3a64b4ed686

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue May 24 12:23:15 2022 +0100

gdi32: Remove second initialization of emf->dc_attr.

Signed-off-by: Huw Davies <huw at codeweavers.com>

---

 dlls/gdi32/emfdc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/gdi32/emfdc.c b/dlls/gdi32/emfdc.c
index eec700de327..d215162d8d0 100644
--- a/dlls/gdi32/emfdc.c
+++ b/dlls/gdi32/emfdc.c
@@ -2426,7 +2426,6 @@ HDC WINAPI CreateEnhMetaFileW( HDC hdc, const WCHAR *filename, const RECT *rect,
         DeleteDC( ret );
         return 0;
     }
-    emf->dc_attr = dc_attr;
 
     emf->handles = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY,
                               HANDLE_LIST_INC * sizeof(emf->handles[0]) );




More information about the wine-cvs mailing list