mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
whitespace.
This commit is contained in:
parent
babf4db52b
commit
8eaed2cdda
1 changed files with 33 additions and 33 deletions
4
st.c
4
st.c
|
@ -1550,7 +1550,7 @@ xinit(void) {
|
||||||
initfonts(FONT, BOLDFONT);
|
initfonts(FONT, BOLDFONT);
|
||||||
|
|
||||||
/* XXX: Assuming same size for bold font */
|
/* XXX: Assuming same size for bold font */
|
||||||
xw.cw = dc.font.rbearing - dc.font.lbearing;
|
xw.cw = dc.font.rbearing - dc.font.lbearing;
|
||||||
xw.ch = dc.font.ascent + dc.font.descent;
|
xw.ch = dc.font.ascent + dc.font.descent;
|
||||||
|
|
||||||
/* colors */
|
/* colors */
|
||||||
|
@ -1626,7 +1626,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
|
||||||
}
|
}
|
||||||
|
|
||||||
XmbDrawImageString(xw.dpy, xw.buf, base.mode & ATTR_BOLD ? dc.bfont.set : dc.font.set,
|
XmbDrawImageString(xw.dpy, xw.buf, base.mode & ATTR_BOLD ? dc.bfont.set : dc.font.set,
|
||||||
dc.gc, winx, winy, s, bytelen);
|
dc.gc, winx, winy, s, bytelen);
|
||||||
|
|
||||||
if(base.mode & ATTR_UNDERLINE)
|
if(base.mode & ATTR_UNDERLINE)
|
||||||
XDrawLine(xw.dpy, xw.buf, dc.gc, winx, winy+1, winx+width-1, winy+1);
|
XDrawLine(xw.dpy, xw.buf, dc.gc, winx, winy+1, winx+width-1, winy+1);
|
||||||
|
|
Loading…
Reference in a new issue