# HG changeset patch # User Gerd Moellmann # Date 984573576 0 # Node ID e7722a221c286fcdcba048a0b5215f2d914a8c7e # Parent 794197ce54016d0c30b6da9383d805dfe0ba976e (x_draw_glyph_string_box): Don't draw a full-width box just because the glyph row's full_width_p flag is set. diff -r 794197ce5401 -r e7722a221c28 src/xterm.c --- a/src/xterm.c Wed Mar 14 12:30:06 2001 +0000 +++ b/src/xterm.c Wed Mar 14 12:39:36 2001 +0000 @@ -2487,7 +2487,7 @@ }; -#if 0 +#if 1 static void x_dump_glyph_string (s) @@ -3835,9 +3835,9 @@ width = abs (s->face->box_line_width); raised_p = s->face->box == FACE_RAISED_BOX; left_x = s->x; - right_x = ((s->row->full_width_p - ? last_x - 1 - : min (last_x, s->x + s->background_width) - 1)); + right_x = (s->row->full_width_p && s->extends_to_end_of_line_p + ? last_x - 1 + : min (last_x, s->x + s->background_width) - 1); top_y = s->y; bottom_y = top_y + s->height - 1;