mirror of
https://github.com/LukeSmithxyz/st.git
synced 2025-03-14 09:34:10 +01:00
commit
fe9fadd0eb
2 changed files with 14 additions and 15 deletions
3
x.c
3
x.c
|
@ -1663,8 +1663,7 @@ xdrawglyphfontspecs(const XftGlyphFontSpec *specs, Glyph base, int len, int x, i
|
||||||
|
|
||||||
/* Render underline and strikethrough. */
|
/* Render underline and strikethrough. */
|
||||||
if (base.mode & ATTR_UNDERLINE) {
|
if (base.mode & ATTR_UNDERLINE) {
|
||||||
XftDrawRect(xw.draw, fg, winx, winy + dc.font.ascent + 1,
|
XftDrawRect(xw.draw, fg, winx, winy + dc.font.ascent + 1, width, 1);
|
||||||
width, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (base.mode & ATTR_STRUCK) {
|
if (base.mode & ATTR_STRUCK) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue