Mercurial > emacs
comparison src/xterm.c @ 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 | a702b7686511 |
children | fde4f76bf531 |
comparison
equal
deleted
inserted
replaced
38496:bc943a2bd926 | 38497:bd96796d6d4b |
---|---|
4771 s->width += glyph->pixel_width; | 4771 s->width += glyph->pixel_width; |
4772 | 4772 |
4773 /* Adjust base line for subscript/superscript text. */ | 4773 /* Adjust base line for subscript/superscript text. */ |
4774 s->ybase += voffset; | 4774 s->ybase += voffset; |
4775 | 4775 |
4776 xassert (s->face && s->face->gc); | 4776 /* The case that face->gc == 0 is handled when drawing the glyph |
4777 string by calling PREPARE_FACE_FOR_DISPLAY. */ | |
4778 xassert (s->face); | |
4777 return glyph - s->row->glyphs[s->area]; | 4779 return glyph - s->row->glyphs[s->area]; |
4778 } | 4780 } |
4779 | 4781 |
4780 | 4782 |
4781 /* Initialize glyph string S. CHAR2B is a suitably allocated vector | 4783 /* Initialize glyph string S. CHAR2B is a suitably allocated vector |