changeset 72711:116728e737a3

(x_draw_glyph_string): Fix 2006-08-24 change.
author Kim F. Storm <storm@cua.dk>
date Fri, 08 Sep 2006 11:35:01 +0000
parents 07fd2daa094f
children ddb8aab05531
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Sep 08 11:34:50 2006 +0000
+++ b/src/xterm.c	Fri Sep 08 11:35:01 2006 +0000
@@ -2689,9 +2689,8 @@
 	  if (!XGetFontProperty (s->font, XA_UNDERLINE_THICKNESS, &h))
 	    h = 1;
 
-          if (x_underline_at_descent_line)
-	    y = s->y + s->height - h;
-          else
+	  y = s->y + s->height - h;
+	  if (!x_underline_at_descent_line)
             {
 	      /* Get the underline position.  This is the recommended
                  vertical offset in pixels from the baseline to the top of