tfix segfault with mouse selection. (thx anonymous) - st - [fork] customized bu… | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit cddbd6eee59104a029087c30f9ff5e7e415bc584 | |
parent 3959a99293785e603270d8798fbe0cb2ba0ae0ee | |
Author: Aurélien Aptel <[email protected]> | |
Date: Thu, 9 Jun 2011 14:27:07 +0200 | |
fix segfault with mouse selection. (thx anonymous) | |
Diffstat: | |
M st.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -615,7 +615,7 @@ bmotion(XEvent *e) { | |
if(oldey != sel.ey || oldex != sel.ex) { | |
int starty = MIN(oldey, sel.ey); | |
int endy = MAX(oldey, sel.ey); | |
- drawregion(0, (starty > 0 ? starty : 0), term.col, (se… | |
+ drawregion(0, (starty > 0 ? starty : 0), term.col, (en… | |
} | |
} | |
} |