Introduction
Introduction Statistics Contact Development Disclaimer Help
tWhen the drawing behaviour was changed underline was not corrected. - st - [fo…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 0b489c4a6a3da54fd6ce99e19520262a0e6a3cd1
parent 2752018e27420947a034d50f1ce165bbb76ae1a8
Author: Christoph Lohmann <[email protected]>
Date: Fri, 5 Oct 2012 09:38:10 +0200
When the drawing behaviour was changed underline was not corrected.
Thanks to Peter A. Shevtsov!
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/st.c b/st.c
t@@ -2234,7 +2234,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i…
winy + font->ascent, (FcChar8 *)s, bytelen);
if(base.mode & ATTR_UNDERLINE) {
- XftDrawRect(xw.xft_draw, fg, winx, winy+1,
+ XftDrawRect(xw.xft_draw, fg, winx, winy + font->ascent + 1,
width, 1);
}
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.