summaryrefslogtreecommitdiffstats
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index 433f7b4..aa72a43 100644
--- a/st.c
+++ b/st.c
@@ -2525,11 +2525,11 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
2525 /* Intelligent cleaning up of the borders. */ 2525 /* Intelligent cleaning up of the borders. */
2526 if(x == 0) { 2526 if(x == 0) {
2527 xclear(0, (y == 0)? 0 : winy, borderpx, 2527 xclear(0, (y == 0)? 0 : winy, borderpx,
2528 winy + xw.ch + (y == term.row-1)? xw.h : 0); 2528 winy + xw.ch + ((y == term.row-1)? xw.h : 0));
2529 } 2529 }
2530 if(x + charlen >= term.col-1) { 2530 if(x + charlen >= term.col-1) {
2531 xclear(winx + width, (y == 0)? 0 : winy, xw.w, 2531 xclear(winx + width, (y == 0)? 0 : winy, xw.w,
2532 (y == term.row-1)? xw.h : (winy + xw.ch)); 2532 ((y == term.row-1)? xw.h : (winy + xw.ch)));
2533 } 2533 }
2534 if(y == 0) 2534 if(y == 0)
2535 xclear(winx, 0, winx + width, borderpx); 2535 xclear(winx, 0, winx + width, borderpx);