diff src/device.c @ 195:a2f645c6b9f8 r20-3b24

Import from CVS: tag r20-3b24
author cvs
date Mon, 13 Aug 2007 09:59:05 +0200
parents 3d6bfa290dbd
children 434959a2fba3
line wrap: on
line diff
--- a/src/device.c	Mon Aug 13 09:58:32 2007 +0200
+++ b/src/device.c	Mon Aug 13 09:59:05 2007 +0200
@@ -412,8 +412,8 @@
       Lisp_Object device = XCAR (devcons);
 
       if (EQ (CONMETH_TYPE (meths), DEVICE_TYPE (XDEVICE (device)))
-	  && !NILP (Fequal (DEVICE_CANON_CONNECTION (XDEVICE (device)),
-			    canon)))
+	  && internal_equal (DEVICE_CANON_CONNECTION (XDEVICE (device)),
+			     canon, 0))
 	return device;
     }