diff src/w32term.c @ 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 194ed5c5c97e
children 32b09637961a
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)
             {