Commit ca3122a0 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix a gratuitous crash in emacs -nw with iso-safe terminal encoding.

 src/term.c (produce_glyphs): Add IT_GLYPHLESS to the values of
 it->what accepted by the xassert.  Fixes a gratuitous crash in an
 Emacs built with -DXASSERTS.
parent cc7245e4
2011-06-18 Eli Zaretskii <eliz@gnu.org>
* term.c (produce_glyphs): Add IT_GLYPHLESS to the values of
it->what accepted by the xassert. Fixes a gratuitous crash in an
Emacs built with -DXASSERTS.
* .gdbinit (xvectype, xvector, xcompiled, xchartable, xboolvector)
(xpr, xfont, xbacktrace): Use "header.size" when accessing vectors
and vector-like objects.
......
......@@ -1546,6 +1546,7 @@ produce_glyphs (struct it *it)
/* Nothing but characters are supported on terminal frames. */
xassert (it->what == IT_CHARACTER
|| it->what == IT_COMPOSITION
|| it->what == IT_GLYPHLESS
|| it->what == IT_STRETCH);
if (it->what == IT_STRETCH)
......
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