From: Chong Yidong Date: Wed, 3 Dec 2008 04:10:37 +0000 (+0000) Subject: (x_draw_glyph_string): Fall back on underline_minimum_offset for X-Git-Tag: emacs-pretest-23.0.90~1337 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=88baab62c5b40183a678a5c78ded98c50a35b12b;p=emacs.git (x_draw_glyph_string): Fall back on underline_minimum_offset for undlerline position. --- diff --git a/src/xterm.c b/src/xterm.c index 4d74910fec7..54833eef366 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -2765,6 +2765,8 @@ x_draw_glyph_string (s) position = s->font->underline_position; else if (s->font) position = (s->font->descent + 1) / 2; + else + position = underline_minimum_offset; } position = max (position, underline_minimum_offset); }