]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_fill_stretch_glyph_string): Remove an assertion.
authorGerd Moellmann <gerd@gnu.org>
Fri, 20 Jul 2001 09:35:17 +0000 (09:35 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 20 Jul 2001 09:35:17 +0000 (09:35 +0000)
src/xterm.c

index d291898c3e8890ad5eb95be4046b1ef44e6812f8..be86909b23b469cec4be3fc74cc854136ee1c60f 100644 (file)
@@ -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];
 }