Simplify loop condition.

This commit is contained in:
[email protected] authored and Roberto E. Vargas Caballero committed 2015-04-13 09:20:00 +02:00
1 parent d2937b05ae
commit b9390a5496
1 file changed
+1 -1
+1 -1
View File
@@ -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) {