Mercurial > emacs
comparison src/macterm.c @ 85849:4f5de444e723
Johan Bockg? <bojohan at gnu.org>
(x_draw_stretch_glyph_string): Don't set s->stippled_p here, since it
has already been set by x_set_glyph_string_gc from
x_draw_glyph_string.
http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg01571.html
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 01 Nov 2007 03:46:14 +0000 |
parents | 9f3a25157e4f |
children | ec2f30e07030 880960b70474 |
comparison
equal
deleted
inserted
replaced
85848:2fa69d7fdc0c | 85849:4f5de444e723 |
---|---|
3787 static void | 3787 static void |
3788 x_draw_stretch_glyph_string (s) | 3788 x_draw_stretch_glyph_string (s) |
3789 struct glyph_string *s; | 3789 struct glyph_string *s; |
3790 { | 3790 { |
3791 xassert (s->first_glyph->type == STRETCH_GLYPH); | 3791 xassert (s->first_glyph->type == STRETCH_GLYPH); |
3792 s->stippled_p = s->face->stipple != 0; | |
3793 | 3792 |
3794 if (s->hl == DRAW_CURSOR | 3793 if (s->hl == DRAW_CURSOR |
3795 && !x_stretch_cursor_p) | 3794 && !x_stretch_cursor_p) |
3796 { | 3795 { |
3797 /* If `x-stretch-block-cursor' is nil, don't draw a block cursor | 3796 /* If `x-stretch-block-cursor' is nil, don't draw a block cursor |