# HG changeset patch # User Juanma Barranquero # Date 1190373452 0 # Node ID 266d9baa6dec01469641bff2176bf75fee64f016 # Parent ee49b55f928c4460fac3802a38d3de94aa94fc27 (x_draw_glyph_string): Use strike_through_color, not underline_color, to draw strike-through. diff -r ee49b55f928c -r 266d9baa6dec src/w32term.c --- 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); } }