Mercurial > emacs
changeset 95239:626cda8569ae
(x_draw_glyph_string): Be sure to update
s->underline_thickness and s->underline_position.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 23 May 2008 04:43:19 +0000 |
parents | 2763e6e1fbe8 |
children | b4799755ba3d |
files | src/xterm.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xterm.c Fri May 23 04:41:33 2008 +0000 +++ b/src/xterm.c Fri May 23 04:43:19 2008 +0000 @@ -2742,9 +2742,9 @@ else if (s->font) position = (s->font->descent + 1) / 2; } - s->underline_thickness = thickness; - s->underline_position = position; } + s->underline_thickness = thickness; + s->underline_position = position; y = s->ybase + position; if (s->face->underline_defaulted_p) XFillRectangle (s->display, s->window, s->gc,