# HG changeset patch # User Kenichi Handa # Date 1211517799 0 # Node ID 626cda8569ae2609f729c94d151ad0743142270e # Parent 2763e6e1fbe843f5a6032be8e7f9453e979864e1 (x_draw_glyph_string): Be sure to update s->underline_thickness and s->underline_position. diff -r 2763e6e1fbe8 -r 626cda8569ae src/xterm.c --- 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,