Mercurial > emacs
comparison src/dispnew.c @ 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 | aaf00c303308 |
children | d6551c039c8f |
comparison
equal
deleted
inserted
replaced
59901:0d4939a13a12 | 59902:4a0a167cb6c4 |
---|---|
2775 { | 2775 { |
2776 struct glyph *border = window_row->glyphs[LAST_AREA] - 1; | 2776 struct glyph *border = window_row->glyphs[LAST_AREA] - 1; |
2777 SET_CHAR_GLYPH_FROM_GLYPH (*border, right_border_glyph); | 2777 SET_CHAR_GLYPH_FROM_GLYPH (*border, right_border_glyph); |
2778 } | 2778 } |
2779 | 2779 |
2780 #if GLYPH_DEBUG | |
2780 /* Window row window_y must be a slice of frame row | 2781 /* Window row window_y must be a slice of frame row |
2781 frame_y. */ | 2782 frame_y. */ |
2782 xassert (glyph_row_slice_p (window_row, frame_row)); | 2783 xassert (glyph_row_slice_p (window_row, frame_row)); |
2783 | 2784 |
2784 /* If rows are in sync, we don't have to copy glyphs because | 2785 /* If rows are in sync, we don't have to copy glyphs because |
2785 frame and window share glyphs. */ | 2786 frame and window share glyphs. */ |
2786 | 2787 |
2787 #if GLYPH_DEBUG | |
2788 strcpy (w->current_matrix->method, w->desired_matrix->method); | 2788 strcpy (w->current_matrix->method, w->desired_matrix->method); |
2789 add_window_display_history (w, w->current_matrix->method, 0); | 2789 add_window_display_history (w, w->current_matrix->method, 0); |
2790 #endif | 2790 #endif |
2791 } | 2791 } |
2792 | 2792 |