mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-25 00:15:46 +01:00
Simplify loop condition.
This commit is contained in:
parent
d2937b05ae
commit
b9390a5496
1 changed files with 1 additions and 1 deletions
2
st.c
2
st.c
|
@ -944,7 +944,7 @@ getsel(void) {
|
||||||
ptr = str = xmalloc(bufsize);
|
ptr = str = xmalloc(bufsize);
|
||||||
|
|
||||||
/* append every set & selected glyph to the selection */
|
/* 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);
|
linelen = tlinelen(y);
|
||||||
|
|
||||||
if(sel.type == SEL_RECTANGULAR) {
|
if(sel.type == SEL_RECTANGULAR) {
|
||||||
|
|
Loading…
Reference in a new issue