pinosaur
/
st.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2752018
)
When the drawing behaviour was changed underline was not corrected.
author
Christoph Lohmann
<20h@r-36.net>
Fri, 5 Oct 2012 07:38:10 +0000
(09:38 +0200)
committer
Christoph Lohmann
<20h@r-36.net>
Fri, 5 Oct 2012 07:38:10 +0000
(09:38 +0200)
Thanks to Peter A. Shevtsov!
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
b4dc591
..
df166b7
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-2234,7
+2234,7
@@
xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
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);
}
}