diff src/device.h @ 2:ac2d302a0011 r19-15b2

Import from CVS: tag r19-15b2
author cvs
date Mon, 13 Aug 2007 08:46:35 +0200
parents 376386a54a3c
children 131b0175ea99
line wrap: on
line diff
--- a/src/device.h	Mon Aug 13 08:45:53 2007 +0200
+++ b/src/device.h	Mon Aug 13 08:46:35 2007 +0200
@@ -314,9 +314,9 @@
 #define INVALIDATE_DEVICE_PIXEL_TO_GLYPH_CACHE(d)			\
   (d)->pixel_to_glyph_cache.valid = 0
 
-#define INVALIDATE_PIXEL_TO_GLYPH_CACHE do {				 \
-  Lisp_Object _devcons_, _concons_;					 \
-  DEVICE_LOOP_NO_BREAK (_devcons_, _concons_)				 \
+#define INVALIDATE_PIXEL_TO_GLYPH_CACHE do {				\
+  Lisp_Object _devcons_, _concons_;					\
+  DEVICE_LOOP_NO_BREAK (_devcons_, _concons_)				\
     INVALIDATE_DEVICE_PIXEL_TO_GLYPH_CACHE (XDEVICE (XCONS (_devcons_)->car));\
   } while (0)
 
@@ -354,14 +354,11 @@
    inline.  Also, the majority of the time the object will turn out to
    be a window so we move it from being checked last to being checked
    first. */
-#define DFW_DEVICE(obj)				\
-  (WINDOWP (obj)				\
-   ? WINDOW_DEVICE (XWINDOW (obj))		\
-   : (FRAMEP (obj)				\
-      ? FRAME_DEVICE (XFRAME (obj))		\
-      : (DEVICEP (obj)				\
-	 ? obj					\
-	 : Qnil)))
+#define DFW_DEVICE(obj)					\
+   (WINDOWP (obj) ? WINDOW_DEVICE (XWINDOW (obj))	\
+ : (FRAMEP  (obj) ? FRAME_DEVICE (XFRAME (obj))		\
+ : (DEVICEP (obj) ? obj					\
+ : Qnil)))
 
 /* NO_BREAK means that "break" doesn't do what you think it does!
    Use goto instead.  "continue" is OK, though. */