diff options
| author | Gerd Moellmann | 1999-08-17 00:38:28 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-08-17 00:38:28 +0000 |
| commit | a7aeb2dec3180720967c8a6e08732f9654fe632d (patch) | |
| tree | db64139f4f58d04f9ff1961080c6c46ababd776a /src/xterm.c | |
| parent | 7dbdfcf86639ec15bd12bf74948a657629dba4ad (diff) | |
| download | emacs-a7aeb2dec3180720967c8a6e08732f9654fe632d.tar.gz emacs-a7aeb2dec3180720967c8a6e08732f9654fe632d.zip | |
(x_draw_glyph_string_box): Use the background width
of the glyph string for the width of the box.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 8d668408312..02acfc4b614 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3284,7 +3284,7 @@ x_draw_glyph_string_box (s) | |||
| 3284 | left_x = s->x; | 3284 | left_x = s->x; |
| 3285 | right_x = ((s->row->full_width_p | 3285 | right_x = ((s->row->full_width_p |
| 3286 | ? last_x - 1 | 3286 | ? last_x - 1 |
| 3287 | : min (last_x, s->x + s->width) - 1)); | 3287 | : min (last_x, s->x + s->background_width) - 1)); |
| 3288 | top_y = s->y; | 3288 | top_y = s->y; |
| 3289 | bottom_y = top_y + s->height - 1; | 3289 | bottom_y = top_y + s->height - 1; |
| 3290 | 3290 | ||