=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/jump.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/usr.bin/less/jump.c 2016/01/12 17:48:04 1.10 +++ src/usr.bin/less/jump.c 2016/09/17 15:06:41 1.11 @@ -210,7 +210,7 @@ * call forw() and put the desired line at the * sline-th line on the screen. */ - for (nline = 0; nline < sline; nline++) { + for (nline = 0; nline < sline; nline++) { if (bpos != -1 && pos <= bpos) { /* * Surprise! The desired line is @@ -244,7 +244,7 @@ * can call back() and put the desired line at the * sline-th line on the screen. */ - for (nline = sline; nline < sc_height - 1; nline++) { + for (nline = sline; nline < sc_height - 1; nline++) { pos = forw_line(pos); if (pos == -1) { /*