Commit 45560b1a authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(clear_glyph_row): Add debug code in #if 0.

parent 827503c6
......@@ -990,6 +990,16 @@ clear_glyph_row (row)
row->glyphs[TEXT_AREA] = p[TEXT_AREA];
row->glyphs[LAST_AREA] = p[LAST_AREA];
#if 0 /* At some point, some bit-fields of struct glyph were not set,
which made glyphs unequal when compared with GLYPH_EQUAL_P.
Redisplay outputs such glyphs, and flickering effects were
the result. This also depended on the contents of memory
returned by xmalloc. If flickering happens again, activate
the code below If the flickering is gone with that, chances
are that the flickering has the same reason as here. */
bzero (p[0], (char *) p[LAST_AREA] - (char *) p[0]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment