changeset 25302:0f10c1eaf8fb

(x_draw_glyph_string_box): Use the background width of the glyph string for the width of the box.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 17 Aug 1999 00:38:28 +0000
parents 2042c4a224ad
children 9cdb001b8bcb
files src/xterm.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Tue Aug 17 00:38:21 1999 +0000
+++ b/src/xterm.c	Tue Aug 17 00:38:28 1999 +0000
@@ -3284,7 +3284,7 @@
   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;