summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2005-02-03 14:08:01 +0000
committerKim F. Storm <storm@cua.dk>2005-02-03 14:08:01 +0000
commit498c08eaef85bf9eada677ab5e38ba1c3f169235 (patch)
tree680ffdc3352d09ed572b2aa6d4ce85e53ac61477 /src/dispnew.c
parent5bb6a3c12977bea1a51ac65758e4059aa611af5f (diff)
downloademacs-498c08eaef85bf9eada677ab5e38ba1c3f169235.tar.gz
(build_frame_matrix_from_leaf_window)
[!GLYPH_DEBUG]: Fix xassert.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index b58d81fcba5..0aa4fc6f886 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -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