]> code.delx.au - gnu-emacs/commitdiff
(x_draw_glyph_string_box): Use the background width
authorGerd Moellmann <gerd@gnu.org>
Tue, 17 Aug 1999 00:38:28 +0000 (00:38 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 17 Aug 1999 00:38:28 +0000 (00:38 +0000)
of the glyph string for the width of the box.

src/xterm.c

index 8d6684083129985de978a61ca0848606275d9370..02acfc4b6149646d33f6ae6eafbbf67ba7036e28 100644 (file)
@@ -3284,7 +3284,7 @@ x_draw_glyph_string_box (s)
   left_x = s->x;
   right_x = ((s->row->full_width_p
              ? last_x - 1
-             : min (last_x, s->x + s->width) - 1));
+             : min (last_x, s->x + s->background_width) - 1));
   top_y = s->y;
   bottom_y = top_y + s->height - 1;