changeset 95240:b4799755ba3d

(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:48 +0000
parents 626cda8569ae
children 54b3c5554f6f
files src/w32term.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32term.c	Fri May 23 04:43:19 2008 +0000
+++ b/src/w32term.c	Fri May 23 04:43:48 2008 +0000
@@ -2908,9 +2908,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)
             {