summaryrefslogtreecommitdiff
path: root/usr.bin/less/main.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/main.c
parent0a8dc2ec631d5ad33bd35b327e05c500696265e3 (diff)
little bit more KNF
Diffstat (limited to 'usr.bin/less/main.c')
-rw-r--r--usr.bin/less/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/less/main.c b/usr.bin/less/main.c
index e0db6063baa..6a06cd0679c 100644
--- a/usr.bin/less/main.c
+++ b/usr.bin/less/main.c
@@ -346,7 +346,7 @@ sprefix(char *ps, char *s, int uppercase)
int sc;
int len = 0;
- for (; *s != '\0'; s++, ps++) {
+ for (; *s != '\0'; s++, ps++) {
c = *ps;
if (uppercase) {
if (len == 0 && islower(c))