mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
Fixing trailing whitespaces.
This commit is contained in:
parent
3544e354b2
commit
f4ebb3180f
6
st.c
6
st.c
@ -2742,7 +2742,7 @@ xloadcols(void) {
|
|||||||
if(!XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &color, &dc.col[i]))
|
if(!XftColorAllocValue(xw.dpy, xw.vis, xw.cmap, &color, &dc.col[i]))
|
||||||
die("Could not allocate color %d\n", i);
|
die("Could not allocate color %d\n", i);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* load colours [232-255] ; grayscale */
|
/* load colours [232-255] ; grayscale */
|
||||||
for(; i < 256; i++) {
|
for(; i < 256; i++) {
|
||||||
color.red = color.green = color.blue = 0x0808 + 0x0a0a * (i-(6*6*6+16));
|
color.red = color.green = color.blue = 0x0808 + 0x0a0a * (i-(6*6*6+16));
|
||||||
@ -3143,12 +3143,12 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
|
|||||||
|
|
||||||
if(base.mode & ATTR_BOLD) {
|
if(base.mode & ATTR_BOLD) {
|
||||||
/*
|
/*
|
||||||
* change basic system colours [0-7]
|
* change basic system colours [0-7]
|
||||||
* to bright system colours [8-15]
|
* to bright system colours [8-15]
|
||||||
*/
|
*/
|
||||||
if(BETWEEN(base.fg, 0, 7))
|
if(BETWEEN(base.fg, 0, 7))
|
||||||
fg = &dc.col[base.fg + 8];
|
fg = &dc.col[base.fg + 8];
|
||||||
|
|
||||||
font = &dc.bfont;
|
font = &dc.bfont;
|
||||||
frcflags = FRC_BOLD;
|
frcflags = FRC_BOLD;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user