diff src/device.c @ 5920:0f2338afbabf cygwin

Minimum necessary to get started: sufficient to compile OK, run -nw, but not with window
author Henry Thompson <ht@markup.co.uk>
date Mon, 21 Apr 2014 11:42:50 +0100
parents 56144c8593a8
children
line wrap: on
line diff
--- a/src/device.c	Thu Dec 16 11:20:17 2021 +0000
+++ b/src/device.c	Mon Apr 21 11:42:50 2014 +0100
@@ -496,7 +496,7 @@
     {
       Lisp_Object device = XCAR (devcons);
 
-      if (EQ (CONMETH_TYPE (meths), DEVICE_TYPE (XDEVICE (device)))
+      if (EQ (CONMETH_TYPE (meths), DEVICE_TYPE_X (XDEVICE (device)))
 	  && internal_equal (DEVICE_CANON_CONNECTION (XDEVICE (device)),
 			     canon, 0))
 	return device;
@@ -909,7 +909,7 @@
   /* Now see if we're the default device, and thus need to be changed. */
   {
     /* Device type still OK, not set to null till down below. */
-    Lisp_Object dt = DEVICE_TYPE (d);
+    Lisp_Object dt = DEVICE_TYPE_X (d);
 
     if (EQ (device, get_default_device (dt)))
       {