changeset 59902:4a0a167cb6c4

(build_frame_matrix_from_leaf_window) [!GLYPH_DEBUG]: Fix xassert.
author Kim F. Storm <storm@cua.dk>
date Thu, 03 Feb 2005 14:08:01 +0000
parents 0d4939a13a12
children f2619addaa72
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Thu Feb 03 14:07:44 2005 +0000
+++ b/src/dispnew.c	Thu Feb 03 14:08:01 2005 +0000
@@ -2777,6 +2777,7 @@
 	      SET_CHAR_GLYPH_FROM_GLYPH (*border, right_border_glyph);
 	    }
 
+#if GLYPH_DEBUG
 	  /* Window row window_y must be a slice of frame row
 	     frame_y.  */
 	  xassert (glyph_row_slice_p (window_row, frame_row));
@@ -2784,7 +2785,6 @@
 	  /* If rows are in sync, we don't have to copy glyphs because
 	     frame and window share glyphs.  */
 
-#if GLYPH_DEBUG
 	  strcpy (w->current_matrix->method, w->desired_matrix->method);
 	  add_window_display_history (w, w->current_matrix->method, 0);
 #endif