Mercurial > emacs
comparison src/dispnew.c @ 30041:b20d72b7aa4b
(clear_glyph_row): Add debug code in #if 0.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 05 Jul 2000 11:39:35 +0000 |
parents | 171ba59e1cb0 |
children | f6270e5282da |
comparison
equal
deleted
inserted
replaced
30040:7249274abdec | 30041:b20d72b7aa4b |
---|---|
988 /* Restore pointers. */ | 988 /* Restore pointers. */ |
989 row->glyphs[LEFT_MARGIN_AREA] = p[LEFT_MARGIN_AREA]; | 989 row->glyphs[LEFT_MARGIN_AREA] = p[LEFT_MARGIN_AREA]; |
990 row->glyphs[TEXT_AREA] = p[TEXT_AREA]; | 990 row->glyphs[TEXT_AREA] = p[TEXT_AREA]; |
991 row->glyphs[RIGHT_MARGIN_AREA] = p[RIGHT_MARGIN_AREA]; | 991 row->glyphs[RIGHT_MARGIN_AREA] = p[RIGHT_MARGIN_AREA]; |
992 row->glyphs[LAST_AREA] = p[LAST_AREA]; | 992 row->glyphs[LAST_AREA] = p[LAST_AREA]; |
993 | |
994 #if 0 /* At some point, some bit-fields of struct glyph were not set, | |
995 which made glyphs unequal when compared with GLYPH_EQUAL_P. | |
996 Redisplay outputs such glyphs, and flickering effects were | |
997 the result. This also depended on the contents of memory | |
998 returned by xmalloc. If flickering happens again, activate | |
999 the code below If the flickering is gone with that, chances | |
1000 are that the flickering has the same reason as here. */ | |
1001 bzero (p[0], (char *) p[LAST_AREA] - (char *) p[0]); | |
1002 #endif | |
993 } | 1003 } |
994 | 1004 |
995 | 1005 |
996 /* Make ROW an empty, enabled row of canonical character height, | 1006 /* Make ROW an empty, enabled row of canonical character height, |
997 in window W starting at y-position Y. */ | 1007 in window W starting at y-position Y. */ |