changeset 38497:bd96796d6d4b

(x_fill_stretch_glyph_string): Remove an assertion.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 20 Jul 2001 09:35:17 +0000
parents bc943a2bd926
children 08dafe901c44
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Jul 20 09:05:26 2001 +0000
+++ b/src/xterm.c	Fri Jul 20 09:35:17 2001 +0000
@@ -4773,7 +4773,9 @@
   /* 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];
 }