whitespace.
This commit is contained in:
parent
babf4db52b
commit
8eaed2cdda
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 New Issue
Block a user