From decf2571a80f212e1b7c7ed0eda1bcb837a49dc8 Mon Sep 17 00:00:00 2001 From: nwanua Date: Fri, 3 Nov 2000 07:44:59 +0000 Subject: [PATCH] *** empty log message *** --- WINGs/wtext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WINGs/wtext.c b/WINGs/wtext.c index bc28bd58..50fd441d 100644 --- a/WINGs/wtext.c +++ b/WINGs/wtext.c @@ -716,7 +716,7 @@ if(tb->blank) {tb->text[0] = 'F'; } */ WMDrawString(scr, tPtr->db, gc, font, tb->sections[s].x - tPtr->hpos, y, text, len); - if (tb->underlined) { + if (!tPtr->flags.monoFont && tb->underlined) { XDrawLine(dpy, tPtr->db, gc, tb->sections[s].x - tPtr->hpos, y + font->y + 1, @@ -785,7 +785,7 @@ if(tb->blank) {tb->text[0] = 'F'; } */ } - if (tb->underlined) { + if (!tPtr->flags.monoFont && tb->underlined) { XDrawLine(dpy, tPtr->db, WMColorGC(tb->color), tb->sections[0].x - tPtr->hpos, tb->sections[0].y + h - tPtr->vpos,