aboutsummaryrefslogtreecommitdiffstats
path: root/src/term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/term.c')
-rw-r--r--src/term.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/term.c b/src/term.c
index 471bc19ab54..128aaca20dd 100644
--- a/src/term.c
+++ b/src/term.c
@@ -1459,7 +1459,7 @@ append_glyph (struct it *it)
1459 struct glyph *glyph, *end; 1459 struct glyph *glyph, *end;
1460 int i; 1460 int i;
1461 1461
1462 xassert (it->glyph_row); 1462 eassert (it->glyph_row);
1463 glyph = (it->glyph_row->glyphs[it->area] 1463 glyph = (it->glyph_row->glyphs[it->area]
1464 + it->glyph_row->used[it->area]); 1464 + it->glyph_row->used[it->area]);
1465 end = it->glyph_row->glyphs[1 + it->area]; 1465 end = it->glyph_row->glyphs[1 + it->area];
@@ -1546,7 +1546,7 @@ produce_glyphs (struct it *it)
1546 /* If a hook is installed, let it do the work. */ 1546 /* If a hook is installed, let it do the work. */
1547 1547
1548 /* Nothing but characters are supported on terminal frames. */ 1548 /* Nothing but characters are supported on terminal frames. */
1549 xassert (it->what == IT_CHARACTER 1549 eassert (it->what == IT_CHARACTER
1550 || it->what == IT_COMPOSITION 1550 || it->what == IT_COMPOSITION
1551 || it->what == IT_STRETCH 1551 || it->what == IT_STRETCH
1552 || it->what == IT_GLYPHLESS); 1552 || it->what == IT_GLYPHLESS);
@@ -1633,7 +1633,7 @@ produce_glyphs (struct it *it)
1633 { 1633 {
1634 Lisp_Object acronym = lookup_glyphless_char_display (-1, it); 1634 Lisp_Object acronym = lookup_glyphless_char_display (-1, it);
1635 1635
1636 xassert (it->what == IT_GLYPHLESS); 1636 eassert (it->what == IT_GLYPHLESS);
1637 produce_glyphless_glyph (it, 1, acronym); 1637 produce_glyphless_glyph (it, 1, acronym);
1638 } 1638 }
1639 } 1639 }
@@ -1657,7 +1657,7 @@ append_composite_glyph (struct it *it)
1657{ 1657{
1658 struct glyph *glyph; 1658 struct glyph *glyph;
1659 1659
1660 xassert (it->glyph_row); 1660 eassert (it->glyph_row);
1661 glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area]; 1661 glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area];
1662 if (glyph < it->glyph_row->glyphs[1 + it->area]) 1662 if (glyph < it->glyph_row->glyphs[1 + it->area])
1663 { 1663 {
@@ -1749,7 +1749,7 @@ append_glyphless_glyph (struct it *it, int face_id, const char *str)
1749 struct glyph *glyph, *end; 1749 struct glyph *glyph, *end;
1750 int i; 1750 int i;
1751 1751
1752 xassert (it->glyph_row); 1752 eassert (it->glyph_row);
1753 glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area]; 1753 glyph = it->glyph_row->glyphs[it->area] + it->glyph_row->used[it->area];
1754 end = it->glyph_row->glyphs[1 + it->area]; 1754 end = it->glyph_row->glyphs[1 + it->area];
1755 1755
@@ -1871,7 +1871,7 @@ produce_glyphless_glyph (struct it *it, int for_no_font, Lisp_Object acronym)
1871 } 1871 }
1872 else 1872 else
1873 { 1873 {
1874 xassert (it->glyphless_method == GLYPHLESS_DISPLAY_HEX_CODE); 1874 eassert (it->glyphless_method == GLYPHLESS_DISPLAY_HEX_CODE);
1875 len = (it->c < 0x10000 ? sprintf (buf, "\\u%04X", it->c) 1875 len = (it->c < 0x10000 ? sprintf (buf, "\\u%04X", it->c)
1876 : it->c <= MAX_UNICODE_CHAR ? sprintf (buf, "\\U%06X", it->c) 1876 : it->c <= MAX_UNICODE_CHAR ? sprintf (buf, "\\U%06X", it->c)
1877 : sprintf (buf, "\\x%06X", it->c)); 1877 : sprintf (buf, "\\x%06X", it->c));
@@ -2067,7 +2067,7 @@ turn_off_face (struct frame *f, int face_id)
2067 struct face *face = FACE_FROM_ID (f, face_id); 2067 struct face *face = FACE_FROM_ID (f, face_id);
2068 struct tty_display_info *tty = FRAME_TTY (f); 2068 struct tty_display_info *tty = FRAME_TTY (f);
2069 2069
2070 xassert (face != NULL); 2070 eassert (face != NULL);
2071 2071
2072 if (tty->TS_exit_attribute_mode) 2072 if (tty->TS_exit_attribute_mode)
2073 { 2073 {