aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c
index ef81aa7bb91..295ee422b1e 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2249,8 +2249,9 @@ x_produce_glyphs (it)
2249 else if (it->what == IT_STRETCH) 2249 else if (it->what == IT_STRETCH)
2250 x_produce_stretch_glyph (it); 2250 x_produce_stretch_glyph (it);
2251 2251
2252 /* Accumulate dimensions. */ 2252 /* Accumulate dimensions. Note: can't assume that it->descent > 0
2253 xassert (it->ascent >= 0 && it->descent > 0); 2253 because this isn't true for images with `:ascent 100'. */
2254 xassert (it->ascent >= 0 && it->descent >= 0);
2254 if (it->area == TEXT_AREA) 2255 if (it->area == TEXT_AREA)
2255 it->current_x += it->pixel_width; 2256 it->current_x += it->pixel_width;
2256 2257