changeset 59879:aaf00c303308

* dispnew.c (update_window): Fixing compile error due to xassert being uncondition, but predicate is.
author Steven Tamm <steventamm@mac.com>
date Thu, 03 Feb 2005 07:05:35 +0000
parents 11f2e6f2a600
children 8e65810e7f24
files src/ChangeLog src/dispnew.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Feb 03 07:04:29 2005 +0000
+++ b/src/ChangeLog	Thu Feb 03 07:05:35 2005 +0000
@@ -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.
--- a/src/dispnew.c	Thu Feb 03 07:04:29 2005 +0000
+++ b/src/dispnew.c	Thu Feb 03 07:05:35 2005 +0000
@@ -4065,11 +4065,11 @@
   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)