st

simple terminal

git clone https://9o.is/git/st.git

commit 41abffda7d04ec97256d61ce2b4fe90910106a22
parent 1e21b8ed1a4447458aac406cca132c5deb75626d
Author: noname@inventati.org <noname@inventati.org>
Date:   Sat, 11 Apr 2015 12:47:16 +0200

Simplify loop condition.

Diffstat:
Mst.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/st.c b/st.c @@ -944,7 +944,7 @@ getsel(void) { ptr = str = xmalloc(bufsize); /* append every set & selected glyph to the selection */ - for(y = sel.nb.y; y < sel.ne.y + 1; y++) { + for(y = sel.nb.y; y <= sel.ne.y; y++) { linelen = tlinelen(y); if(sel.type == SEL_RECTANGULAR) {