No subject


Tue Aug 30 15:12:41 CDT 2005


	Jukka Heinonen <jhei at iki.fi>
	Include device name in call to CreateIC

--8NvZYKFJsRX2Djef
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="prndrv.diff"

Index: dlls/gdi/driver.c
===================================================================
RCS file: /home/wine/wine/dlls/gdi/driver.c,v
retrieving revision 1.3
diff -u -r1.3 driver.c
--- dlls/gdi/driver.c	2001/07/29 20:25:14	1.3
+++ dlls/gdi/driver.c	2001/07/31 12:34:37
@@ -376,7 +376,7 @@
 
     if(!DRIVER_GetDriverName( lpszDevice, buf, sizeof(buf) )) return -1;
 
-    if (!(hdc = CreateICA( buf, NULL, lpszPort, NULL ))) return -1;
+    if (!(hdc = CreateICA( buf, lpszDevice, lpszPort, NULL ))) return -1;
 
     if ((dc = DC_GetDCPtr( hdc )))
     {
@@ -421,7 +421,7 @@
 
     if(!DRIVER_GetDriverName( lpszDevice, buf, sizeof(buf) )) return -1;
 
-    if (!(hdc = CreateICA( buf, NULL, lpszPort, NULL ))) return -1;
+    if (!(hdc = CreateICA( buf, lpszDevice, lpszPort, NULL ))) return -1;
 
     if ((dc = DC_GetDCPtr( hdc )))
     {

--8NvZYKFJsRX2Djef--





More information about the wine-patches mailing list