changeset 84764:8556c5b11c62

(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 10:56:59 +0000
parents 6221fe13ef8a
children 2802a7ac4329
files src/w32term.c
diffstat 1 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Fri Sep 21 09:03:41 2007 +0000
+++ b/src/w32term.c	Fri Sep 21 10:56:59 2007 +0000
@@ -2594,10 +2594,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,
+	    {
+	      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,
@@ -2619,7 +2619,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);
             }
         }
@@ -6264,7 +6264,7 @@
 w32_create_terminal (struct w32_display_info *dpyinfo)
 {
   struct terminal *terminal;
-  
+
   terminal = create_terminal ();
 
   terminal->type = output_w32;
@@ -6295,7 +6295,7 @@
 
   terminal->delete_frame_hook = x_destroy_window;
   terminal->delete_terminal_hook = x_delete_terminal;
-  
+
   terminal->rif = &w32_redisplay_interface;
   terminal->scroll_region_ok = 1;    /* We'll scroll partial frames. */
   terminal->char_ins_del_ok = 1;