diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 5 |
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 |