diff options
| author | Juanma Barranquero | 2007-09-21 11:21:38 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-09-21 11:21:38 +0000 |
| commit | e243eb1f503d278c460c4d00ac1ae85c0476fe46 (patch) | |
| tree | eafa66855b0e9fe1f47c7d53349ba0ac839c6e7e /src | |
| parent | 3bef54c92256af36e40c31b87be3bfb408f9ce49 (diff) | |
| download | emacs-e243eb1f503d278c460c4d00ac1ae85c0476fe46.tar.gz emacs-e243eb1f503d278c460c4d00ac1ae85c0476fe46.zip | |
(x_draw_glyph_string): Use strike_through_color, not underline_color,
to draw strike-through.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 20 | ||||
| -rw-r--r-- | src/w32term.c | 10 |
2 files changed, 18 insertions, 12 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 88f20719f75..7dabc396407 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-09-21 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * w32term.c (x_draw_glyph_string): Use strike_through_color, not | ||
| 4 | underline_color, to draw strike-through. | ||
| 5 | |||
| 1 | 2007-09-20 Glenn Morris <rgm@gnu.org> | 6 | 2007-09-20 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * process.c (Fmake_network_process): Doc fix. | 8 | * process.c (Fmake_network_process): Doc fix. |
| @@ -30,7 +35,8 @@ | |||
| 30 | scope and rename to omfib_buffer for clarity. | 35 | scope and rename to omfib_buffer for clarity. |
| 31 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. | 36 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. |
| 32 | 37 | ||
| 33 | 2007-09-14 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) | 38 | 2007-09-14 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) |
| 39 | |||
| 34 | * gtkutil.c (xg_get_file_with_chooser): Move GCPRO1 after declarations. | 40 | * gtkutil.c (xg_get_file_with_chooser): Move GCPRO1 after declarations. |
| 35 | 41 | ||
| 36 | * termhooks.h (enum event_kind): Remove trailing comma. | 42 | * termhooks.h (enum event_kind): Remove trailing comma. |
| @@ -66,15 +72,15 @@ | |||
| 66 | 2007-09-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 72 | 2007-09-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 67 | 73 | ||
| 68 | * keyboard.c: Qrtl is new. | 74 | * keyboard.c: Qrtl is new. |
| 69 | (parse_tool_bar_item): Handle :rtl keyword. | 75 | (parse_tool_bar_item): Handle :rtl keyword. |
| 70 | (syms_of_keyboard): Intern :rtl keyword. | 76 | (syms_of_keyboard): Intern :rtl keyword. |
| 71 | 77 | ||
| 72 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. | 78 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. |
| 73 | 79 | ||
| 74 | * gtkutil.c: (file_for_image, find_rtl_image): New functions. | 80 | * gtkutil.c (file_for_image, find_rtl_image): New functions. |
| 75 | (xg_get_image_for_pixmap): Use file_for_image | 81 | (xg_get_image_for_pixmap): Use file_for_image |
| 76 | (update_frame_tool_bar): If direction is RTL, use RTL image if | 82 | (update_frame_tool_bar): If direction is RTL, use RTL image if |
| 77 | defined. Use Gtk stock images or named theme icons if defined. | 83 | defined. Use Gtk stock images or named theme icons if defined. |
| 78 | 84 | ||
| 79 | 2007-08-29 Martin Rudalics <rudalics@gmx.at> | 85 | 2007-08-29 Martin Rudalics <rudalics@gmx.at> |
| 80 | 86 | ||
diff --git a/src/w32term.c b/src/w32term.c index 0422257f2d6..e56a74e0edd 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -2547,10 +2547,10 @@ x_draw_glyph_string (s) | |||
| 2547 | unsigned long dy = 0, h = 1; | 2547 | unsigned long dy = 0, h = 1; |
| 2548 | 2548 | ||
| 2549 | if (s->face->overline_color_defaulted_p) | 2549 | if (s->face->overline_color_defaulted_p) |
| 2550 | { | 2550 | { |
| 2551 | w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, | 2551 | w32_fill_area (s->f, s->hdc, s->gc->foreground, s->x, |
| 2552 | s->y + dy, s->background_width, h); | 2552 | s->y + dy, s->background_width, h); |
| 2553 | } | 2553 | } |
| 2554 | else | 2554 | else |
| 2555 | { | 2555 | { |
| 2556 | w32_fill_area (s->f, s->hdc, s->face->overline_color, s->x, | 2556 | w32_fill_area (s->f, s->hdc, s->face->overline_color, s->x, |
| @@ -2572,7 +2572,7 @@ x_draw_glyph_string (s) | |||
| 2572 | } | 2572 | } |
| 2573 | else | 2573 | else |
| 2574 | { | 2574 | { |
| 2575 | w32_fill_area (s->f, s->hdc, s->face->underline_color, s->x, | 2575 | w32_fill_area (s->f, s->hdc, s->face->strike_through_color, s->x, |
| 2576 | s->y + dy, s->width, h); | 2576 | s->y + dy, s->width, h); |
| 2577 | } | 2577 | } |
| 2578 | } | 2578 | } |