diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-07-07 18:39:23 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-07-07 18:39:23 +0300 |
commit | a8815b00dc3ce6878008e5e711d5094461cb69a4 (patch) | |
tree | 53bcdda6081f4ab6f6e4fa0f870abce8c04bc5e5 /src/term.c | |
parent | 12b9eb35271db4602d6a5559a4554fdd68604b59 (diff) |
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.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 9205719b5f..be23e54751 100644 --- a/src/term.c +++ b/src/term.c @@ -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) { |