JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fixing a compile error.
authorChristoph Lohmann <20h@r-36.net>
Sat, 22 Dec 2012 18:50:02 +0000 (19:50 +0100)
committerChristoph Lohmann <20h@r-36.net>
Sat, 22 Dec 2012 18:50:02 +0000 (19:50 +0100)
st.c

diff --git a/st.c b/st.c
index d47bebc..8074df9 100644 (file)
--- 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)));
        }