]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_draw_glyph_string): Fix 2006-08-24 change.
authorKim F. Storm <storm@cua.dk>
Fri, 8 Sep 2006 11:35:01 +0000 (11:35 +0000)
committerKim F. Storm <storm@cua.dk>
Fri, 8 Sep 2006 11:35:01 +0000 (11:35 +0000)
src/xterm.c

index c2cf2721881e539d5ad86872c1dff02cfe70f7e9..6a392f965593ce87b3a0fef8eca755e324fc1885 100644 (file)
@@ -2689,9 +2689,8 @@ x_draw_glyph_string (s)
          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