aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index 23ed213..16c64b1 100644
--- a/st.c
+++ b/st.c
@@ -2355,7 +2355,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
2355 } 2355 }
2356 if(x + charlen >= term.col-1) { 2356 if(x + charlen >= term.col-1) {
2357 xclear(winx + width, (y == 0)? 0 : winy, xw.w, 2357 xclear(winx + width, (y == 0)? 0 : winy, xw.w,
2358 winy + xw.ch + (y == term.row-1)? xw.h : 0); 2358 (y == term.row-1)? xw.h : (winy + xw.ch));
2359 } 2359 }
2360 if(y == 0) 2360 if(y == 0)
2361 xclear(winx, 0, winx + width, BORDER); 2361 xclear(winx, 0, winx + width, BORDER);