From 1118718c056bb093492957df7fa4486f67131fc8 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Fri, 8 Sep 2006 11:35:01 +0000 Subject: [PATCH] (x_draw_glyph_string): Fix 2006-08-24 change. --- src/xterm.c | 5 ++--- 1 file 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) 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 -- 2.39.2