Janitorial # dlls/gdi/enhmfdrv/init.c W->A cleanup

Tony Lambregts tony_lambregts at telusplanet.net
Thu Mar 6 14:11:42 CST 2003


Change Log: Janitorial. Get rid of W->A call

Files Changed: # dlls/gdi/enhmfdrv/init.c


-- 

Tony Lambregts


-------------- next part --------------
Index: init.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/enhmfdrv/init.c,v
retrieving revision 1.13
diff -u -r1.13 init.c
--- init.c	22 Nov 2002 22:16:53 -0000	1.13
+++ init.c	6 Mar 2003 20:13:26 -0000
@@ -273,9 +273,11 @@
     LPCWSTR       description /* [in] optional description */
     )
 {
+    static const WCHAR displayW[] = {'D','I','S','P','L','A','Y',0};
     HDC ret;
     DC *dc;
-    HDC hRefDC = hdc ? hdc : CreateDCA("DISPLAY",NULL,NULL,NULL); /* If no ref, use current display */
+    HDC hRefDC = hdc ? hdc : CreateDCW(displayW,NULL,NULL,NULL); 
+        /* If no ref, use current display */
     EMFDRV_PDEVICE *physDev;
     HANDLE hFile;
     DWORD size = 0, length = 0;


More information about the wine-patches mailing list