Mercurial > emacs
diff src/xterm.c @ 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 | 759e19ea81e5 |
children | 73c180e96f39 |
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