Xinqi Bao's Git
projects
/
st.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Fixing a typo.
[st.git]
/
st.c
diff --git
a/st.c
b/st.c
index
23ed213
..
ba44b1c
100644
(file)
--- a/
st.c
+++ b/
st.c
@@
-2310,7
+2310,7
@@
xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
* Those ranges will not be brightened:
* 8 - 15 – bright system colors
* 196 - 231 – highest 256 color cube
* Those ranges will not be brightened:
* 8 - 15 – bright system colors
* 196 - 231 – highest 256 color cube
- * 252 - 255 – brightest colors in grescale
+ * 252 - 255 – brightest colors in gre
y
scale
*/
font = &dc.bfont;
}
*/
font = &dc.bfont;
}
@@
-2355,7
+2355,7
@@
xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
}
if(x + charlen >= term.col-1) {
xclear(winx + width, (y == 0)? 0 : winy, xw.w,
}
if(x + charlen >= term.col-1) {
xclear(winx + width, (y == 0)? 0 : winy, xw.w,
-
winy + xw.ch + (y == term.row-1)? xw.h : 0
);
+
(y == term.row-1)? xw.h : (winy + xw.ch)
);
}
if(y == 0)
xclear(winx, 0, winx + width, BORDER);
}
if(y == 0)
xclear(winx, 0, winx + width, BORDER);