]> code.delx.au - gnu-emacs/commitdiff
(build_frame_matrix_from_leaf_window)
authorKim F. Storm <storm@cua.dk>
Thu, 3 Feb 2005 14:08:01 +0000 (14:08 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 3 Feb 2005 14:08:01 +0000 (14:08 +0000)
 [!GLYPH_DEBUG]: Fix xassert.

src/dispnew.c

index b58d81fcba577b356f970cedea5951cf7fdd5a16..0aa4fc6f8860e9d0d314673d5bc92dedd7f25163 100644 (file)
@@ -2777,6 +2777,7 @@ build_frame_matrix_from_leaf_window (frame_matrix, w)
              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 @@ build_frame_matrix_from_leaf_window (frame_matrix, w)
          /* 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