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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


--

Tony Lambregts


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;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux