aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 2a0f783580e..7f0c0b5aba2 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2653,7 +2653,8 @@ x_draw_glyph_string (s)
2653 int width; 2653 int width;
2654 struct glyph_string *next; 2654 struct glyph_string *next;
2655 2655
2656 for (width = 0, next = s->next; next; 2656 for (width = 0, next = s->next;
2657 next && width < s->right_overhang;
2657 width += next->width, next = next->next) 2658 width += next->width, next = next->next)
2658 if (next->first_glyph->type != IMAGE_GLYPH) 2659 if (next->first_glyph->type != IMAGE_GLYPH)
2659 { 2660 {