Module Name: src
Committed By: wiz
Date: Thu Sep 11 08:22:03 UTC 2014
Modified Files:
src/usr.bin/vgrind: vfontedpr.c
Log Message:
Use false/true on boolean, not increment.
>From Henning Petersen in PR 49194.
To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/vgrind/vfontedpr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/vgrind/vfontedpr.c
diff -u src/usr.bin/vgrind/vfontedpr.c:1.15 src/usr.bin/vgrind/vfontedpr.c:1.16
--- src/usr.bin/vgrind/vfontedpr.c:1.15 Tue Jul 15 13:17:15 2014
+++ src/usr.bin/vgrind/vfontedpr.c Thu Sep 11 08:22:03 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: vfontedpr.c,v 1.15 2014/07/15 13:17:15 christos Exp $ */
+/* $NetBSD: vfontedpr.c,v 1.16 2014/09/11 08:22:03 wiz Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
#if 0
static char sccsid[] = "@(#)vfontedpr.c 8.1 (Berkeley) 6/6/93";
#endif
-__RCSID("$NetBSD: vfontedpr.c,v 1.15 2014/07/15 13:17:15 christos Exp $");
+__RCSID("$NetBSD: vfontedpr.c,v 1.16 2014/09/11 08:22:03 wiz Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -163,7 +163,7 @@ main(int argc, char *argv[])
/* act as a filter like eqn */
if (!strcmp(argv[0], "-f")) {
- filter++;
+ filter=true;
argv[0] = argv[argc-1];
argv[argc-1] = minus;
continue;
@@ -177,13 +177,13 @@ main(int argc, char *argv[])
/* build an index */
if (!strcmp(argv[0], "-x")) {
- idx++;
+ idx=true;
argv[0] = minusn;
}
/* indicate no keywords */
if (!strcmp(argv[0], "-n")) {
- nokeyw++;
+ nokeyw=true;
argc--, argv++;
continue;
}