diff options
| author | Kenichi Handa | 2008-05-23 04:43:48 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-05-23 04:43:48 +0000 |
| commit | 71b7654711f5ef923eaf5c43233c3fca518eec96 (patch) | |
| tree | e49e7e0ca6d467fb24afa15121859108847a66e6 /src | |
| parent | cc4a96c68033373445cc62eacec68dfd67900105 (diff) | |
| download | emacs-71b7654711f5ef923eaf5c43233c3fca518eec96.tar.gz emacs-71b7654711f5ef923eaf5c43233c3fca518eec96.zip | |
(x_draw_glyph_string): Be sure to update
s->underline_thickness and s->underline_position.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32term.c | 4 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c index 348df816aab..eb45d30b54b 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -2908,9 +2908,9 @@ x_draw_glyph_string (s) | |||
| 2908 | else if (s->font) | 2908 | else if (s->font) |
| 2909 | position = (s->font->descent + 1) / 2; | 2909 | position = (s->font->descent + 1) / 2; |
| 2910 | } | 2910 | } |
| 2911 | s->underline_thickness = thickness; | ||
| 2912 | s->underline_position =position; | ||
| 2913 | } | 2911 | } |
| 2912 | s->underline_thickness = thickness; | ||
| 2913 | s->underline_position =position; | ||
| 2914 | y = s->ybase + position; | 2914 | y = s->ybase + position; |
| 2915 | if (s->face->underline_defaulted_p) | 2915 | if (s->face->underline_defaulted_p) |
| 2916 | { | 2916 | { |
diff --git a/src/xterm.c b/src/xterm.c index d1aef140419..b4c49d4085f 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -2742,9 +2742,9 @@ x_draw_glyph_string (s) | |||
| 2742 | else if (s->font) | 2742 | else if (s->font) |
| 2743 | position = (s->font->descent + 1) / 2; | 2743 | position = (s->font->descent + 1) / 2; |
| 2744 | } | 2744 | } |
| 2745 | s->underline_thickness = thickness; | ||
| 2746 | s->underline_position = position; | ||
| 2747 | } | 2745 | } |
| 2746 | s->underline_thickness = thickness; | ||
| 2747 | s->underline_position = position; | ||
| 2748 | y = s->ybase + position; | 2748 | y = s->ybase + position; |
| 2749 | if (s->face->underline_defaulted_p) | 2749 | if (s->face->underline_defaulted_p) |
| 2750 | XFillRectangle (s->display, s->window, s->gc, | 2750 | XFillRectangle (s->display, s->window, s->gc, |