diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-09-17 15:06:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-09-17 15:06:42 +0000 |
commit | 65d86e65360000654c9d6fe84c3cbe1c120d106e (patch) | |
tree | e2ab90282472c64c02136bb4a498c24a5ac673ba /usr.bin/less/jump.c | |
parent | 0a8dc2ec631d5ad33bd35b327e05c500696265e3 (diff) |
little bit more KNF
Diffstat (limited to 'usr.bin/less/jump.c')
-rw-r--r-- | usr.bin/less/jump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/less/jump.c b/usr.bin/less/jump.c index b700d319a83..a4a60eeb991 100644 --- a/usr.bin/less/jump.c +++ b/usr.bin/less/jump.c @@ -210,7 +210,7 @@ jump_loc(off_t pos, int sline) * 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 @@ jump_loc(off_t pos, int sline) * 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) { /* |