tFixing a compile error. - st - [fork] customized build of st, the simple termi… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 082bab29f3551e5cee332832ff767c3fb65a5cbc | |
parent ac4c6da4ef9b05e2886c26272745effc4f975042 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 22 Dec 2012 19:50:02 +0100 | |
Fixing a compile error. | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -2530,7 +2530,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i… | |
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))); | |
} |