summaryrefslogtreecommitdiff
path: root/usr.bin/less/prompt.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-09-17 15:06:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-09-17 15:06:42 +0000
commit65d86e65360000654c9d6fe84c3cbe1c120d106e (patch)
treee2ab90282472c64c02136bb4a498c24a5ac673ba /usr.bin/less/prompt.c
parent0a8dc2ec631d5ad33bd35b327e05c500696265e3 (diff)
little bit more KNF
Diffstat (limited to 'usr.bin/less/prompt.c')
-rw-r--r--usr.bin/less/prompt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/prompt.c b/usr.bin/less/prompt.c
index fb0c58066b9..be343ba6d88 100644
--- a/usr.bin/less/prompt.c
+++ b/usr.bin/less/prompt.c
@@ -421,7 +421,7 @@ wherechar(const char *p, int *wp)
case 'b': *wp = BOTTOM; break;
case 'B': *wp = BOTTOM_PLUS_ONE; break;
case 'j': *wp = adjsline(jump_sline); break;
- default: *wp = TOP; p--; break;
+ default: *wp = TOP; p--; break;
}
}
return (p);