Fix bug #9015 with a bogus crash with glyphless characters on a TTY.
src/term.c (produce_glyphs) <xassert>: Allow IT_GLYPHLESS in it->what.
This commit is contained in:
parent
12b9eb3527
commit
a8815b00dc
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-07-07 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* term.c (produce_glyphs) <xassert>: Allow IT_GLYPHLESS in it->what.
|
||||
(Bug#9015)
|
||||
|
||||
2011-07-07 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* character.h (unicode_category_t): New enum type.
|
||||
|
|
|
@ -1546,7 +1546,8 @@ 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_STRETCH);
|
||||
|| it->what == IT_STRETCH
|
||||
|| it->what == IT_GLYPHLESS);
|
||||
|
||||
if (it->what == IT_STRETCH)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue