aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim F. Storm2006-09-08 11:35:01 +0000
committerKim F. Storm2006-09-08 11:35:01 +0000
commit1118718c056bb093492957df7fa4486f67131fc8 (patch)
tree84af02b93310cef9c4ce6bb7c67a8b716535d969 /src
parent70c6267a377e52319f9a1bc4ae1dd0d03f64dbcd (diff)
downloademacs-1118718c056bb093492957df7fa4486f67131fc8.tar.gz
emacs-1118718c056bb093492957df7fa4486f67131fc8.zip
(x_draw_glyph_string): Fix 2006-08-24 change.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c
index c2cf2721881..6a392f96559 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -2689,9 +2689,8 @@ x_draw_glyph_string (s)
2689 if (!XGetFontProperty (s->font, XA_UNDERLINE_THICKNESS, &h)) 2689 if (!XGetFontProperty (s->font, XA_UNDERLINE_THICKNESS, &h))
2690 h = 1; 2690 h = 1;
2691 2691
2692 if (x_underline_at_descent_line) 2692 y = s->y + s->height - h;
2693 y = s->y + s->height - h; 2693 if (!x_underline_at_descent_line)
2694 else
2695 { 2694 {
2696 /* Get the underline position. This is the recommended 2695 /* Get the underline position. This is the recommended
2697 vertical offset in pixels from the baseline to the top of 2696 vertical offset in pixels from the baseline to the top of