summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-07-20 09:35:17 +0000
committerGerd Moellmann <gerd@gnu.org>2001-07-20 09:35:17 +0000
commitc296fc0108b4a7c7b59bfb208da32d33d5c3fcb5 (patch)
treebd650415343e9820ac37379252603b2e0f0760c9 /src/xterm.c
parentdaecaf5da21fc06999d2603da904e83d2577c996 (diff)
downloademacs-c296fc0108b4a7c7b59bfb208da32d33d5c3fcb5.tar.gz
(x_fill_stretch_glyph_string): Remove an assertion.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index d291898c3e8..be86909b23b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4773,7 +4773,9 @@ x_fill_stretch_glyph_string (s, row, area, start, end)
/* Adjust base line for subscript/superscript text. */
s->ybase += voffset;
- xassert (s->face && s->face->gc);
+ /* The case that face->gc == 0 is handled when drawing the glyph
+ string by calling PREPARE_FACE_FOR_DISPLAY. */
+ xassert (s->face);
return glyph - s->row->glyphs[s->area];
}