Mercurial > emacs
changeset 78858:266d9baa6dec
(x_draw_glyph_string): Use strike_through_color, not underline_color,
to draw strike-through.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 21 Sep 2007 11:17:32 +0000 |
parents | ee49b55f928c |
children | 309500d2aa00 |
files | src/w32term.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32term.c Fri Sep 21 03:32:29 2007 +0000 +++ b/src/w32term.c Fri Sep 21 11:17:32 2007 +0000 @@ -2547,10 +2547,10 @@ unsigned long dy = 0, h = 1; if (s->face->overline_color_defaulted_p) - { - w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, - s->y + dy, s->background_width, h); - } + { + w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, + s->y + dy, s->background_width, h); + } else { w32_fill_area (s->f, s->hdc, s->face->overline_color, s->x, @@ -2572,7 +2572,7 @@ } else { - w32_fill_area (s->f, s->hdc, s->face->underline_color, s->x, + w32_fill_area (s->f, s->hdc, s->face->strike_through_color, s->x, s->y + dy, s->width, h); } }