]> git.eshelyaron.com Git - emacs.git/commitdiff
* dispnew.c (update_window): Fixing compile error due to
authorSteven Tamm <steventamm@mac.com>
Thu, 3 Feb 2005 07:05:35 +0000 (07:05 +0000)
committerSteven Tamm <steventamm@mac.com>
Thu, 3 Feb 2005 07:05:35 +0000 (07:05 +0000)
xassert being uncondition, but predicate is.

src/ChangeLog
src/dispnew.c

index 721c118467bd924084d7b1b9b8589b28169c1c60..16b6256556c85a28302d386010c613c991bcacd2 100644 (file)
@@ -1,3 +1,8 @@
+2005-02-02  Steven Tamm  <steventamm@mac.com>
+
+       * dispnew.c (update_window): Fixing compile error due to
+       GLYPH_DEBUG being undefined.
+
 2005-02-02  Miles Bader  <miles@gnu.org>
 
        * dispextern.h (xassert): Enable unconditionally.
index 1c3c56de80b7e10b83ee7c1e20a6ed73bb12b6c5..b58d81fcba577b356f970cedea5951cf7fdd5a16 100644 (file)
@@ -4065,11 +4065,11 @@ update_window (w, force_p)
   extern Lisp_Object do_mouse_tracking;
 #if GLYPH_DEBUG
   struct frame *f = XFRAME (WINDOW_FRAME (w));
-#endif
 
   /* Check that W's frame doesn't have glyph matrices.  */
   xassert (FRAME_WINDOW_P (f));
   xassert (updating_frame != NULL);
+#endif
 
   /* Check pending input the first time so that we can quickly return.  */
   if (redisplay_dont_pause)