comparison src/xterm.c @ 36795:e7722a221c28

(x_draw_glyph_string_box): Don't draw a full-width box just because the glyph row's full_width_p flag is set.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 14 Mar 2001 12:39:36 +0000
parents 66a72e7c05aa
children 7a809e9fc67e
comparison
equal deleted inserted replaced
36794:794197ce5401 36795:e7722a221c28
2485 2485
2486 struct glyph_string *next, *prev; 2486 struct glyph_string *next, *prev;
2487 }; 2487 };
2488 2488
2489 2489
2490 #if 0 2490 #if 1
2491 2491
2492 static void 2492 static void
2493 x_dump_glyph_string (s) 2493 x_dump_glyph_string (s)
2494 struct glyph_string *s; 2494 struct glyph_string *s;
2495 { 2495 {
3833 : s->first_glyph + s->nchars - 1); 3833 : s->first_glyph + s->nchars - 1);
3834 3834
3835 width = abs (s->face->box_line_width); 3835 width = abs (s->face->box_line_width);
3836 raised_p = s->face->box == FACE_RAISED_BOX; 3836 raised_p = s->face->box == FACE_RAISED_BOX;
3837 left_x = s->x; 3837 left_x = s->x;
3838 right_x = ((s->row->full_width_p 3838 right_x = (s->row->full_width_p && s->extends_to_end_of_line_p
3839 ? last_x - 1 3839 ? last_x - 1
3840 : min (last_x, s->x + s->background_width) - 1)); 3840 : min (last_x, s->x + s->background_width) - 1);
3841 top_y = s->y; 3841 top_y = s->y;
3842 bottom_y = top_y + s->height - 1; 3842 bottom_y = top_y + s->height - 1;
3843 3843
3844 left_p = (s->first_glyph->left_box_line_p 3844 left_p = (s->first_glyph->left_box_line_p
3845 || (s->hl == DRAW_MOUSE_FACE 3845 || (s->hl == DRAW_MOUSE_FACE