aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index b4dc591..df166b7 100644
--- a/st.c
+++ b/st.c
@@ -2234,7 +2234,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
2234 winy + font->ascent, (FcChar8 *)s, bytelen); 2234 winy + font->ascent, (FcChar8 *)s, bytelen);
2235 2235
2236 if(base.mode & ATTR_UNDERLINE) { 2236 if(base.mode & ATTR_UNDERLINE) {
2237 XftDrawRect(xw.xft_draw, fg, winx, winy+1, 2237 XftDrawRect(xw.xft_draw, fg, winx, winy + font->ascent + 1,
2238 width, 1); 2238 width, 1);
2239 } 2239 }
2240} 2240}