summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann2012-12-22 19:50:02 +0100
committerChristoph Lohmann2012-12-22 19:50:02 +0100
commit082bab29f3551e5cee332832ff767c3fb65a5cbc (patch)
tree9bd7639cbc0ab33179e4e3b7f3a3c2613a636668
parentac4c6da4ef9b05e2886c26272745effc4f975042 (diff)
downloadst-082bab29f3551e5cee332832ff767c3fb65a5cbc.tar.gz
st-082bab29f3551e5cee332832ff767c3fb65a5cbc.tar.xz
st-082bab29f3551e5cee332832ff767c3fb65a5cbc.zip
Fixing a compile error.
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index d47bebc..8074df9 100644
--- a/st.c
+++ b/st.c
@@ -2530,7 +2530,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, int bytelen) {
xclear(0, (y == 0)? 0 : winy, borderpx,
winy + xw.ch + ((y >= term.row-1)? xw.h : 0));
}
- if(x + charlen >= term.col)
+ if(x + charlen >= term.col) {
xclear(winx + width, (y == 0)? 0 : winy, xw.w,
((y >= term.row-1)? xw.h : (winy + xw.ch)));
}