Mercurial > hg > xemacs-beta
diff src/redisplay-x.c @ 247:e70b3a057e12 r20-5b22
Import from CVS: tag r20-5b22
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:18:21 +0200 |
parents | 262b8bb4a523 |
children | 677f6a0ee643 |
line wrap: on
line diff
--- a/src/redisplay-x.c Mon Aug 13 10:17:55 2007 +0200 +++ b/src/redisplay-x.c Mon Aug 13 10:18:21 2007 +0200 @@ -974,7 +974,7 @@ xfont = FONT_INSTANCE_X_FONT (XFONT_INSTANCE (font)); if (!XGetFontProperty (xfont, XA_UNDERLINE_POSITION, &upos)) - upos = 0; + upos = dl->descent / 2; if (!XGetFontProperty (xfont, XA_UNDERLINE_THICKNESS, &uthick)) uthick = 1;