Introduction
Introduction Statistics Contact Development Disclaimer Help
tFixing a off-by-one error in the new border clearing code. - st - [fork] custo…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit b16b5d77d31c4c6b2577ab0986e85b43baaf834a
parent 2bd0c23fa7bb42724c75416342d36e00c435f404
Author: Christoph Lohmann <[email protected]>
Date: Sat, 6 Oct 2012 20:52:22 +0200
Fixing a off-by-one error in the new border clearing code.
Diffstat:
M st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/st.c b/st.c
t@@ -2355,7 +2355,7 @@ xdraws(char *s, Glyph base, int x, int y, int charlen, i…
}
if(x + charlen >= term.col-1) {
xclear(winx + width, (y == 0)? 0 : winy, xw.w,
- winy + xw.ch + (y == term.row-1)? xw.h : 0);
+ (y == term.row-1)? xw.h : (winy + xw.ch));
}
if(y == 0)
xclear(winx, 0, winx + width, BORDER);
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.