[PATCH 1/2] gdi32: Remove second initialization of emf->dc_attr.

Huw Davies wine at gitlab.winehq.org
Tue May 24 06:38:27 CDT 2022


From: Huw Davies <huw at codeweavers.com>

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]) );
-- 
GitLab


https://gitlab.winehq.org/wine/wine/-/merge_requests/121



More information about the wine-devel mailing list