summary refs log tree commit diff
path: root/src/usr.bin/vis
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-02-16 13:18:36 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-02-16 13:18:36 +0100
commit680d7b7de224222fdec0801487342cbb3036834e (patch)
tree80d57b65d3ba04b71f8c92b6517f58e6308d9aa5 /src/usr.bin/vis
parent6db4554340faa64ea3f94a4a4b067ff2fa90694f (diff)
downloadoutils-680d7b7de224222fdec0801487342cbb3036834e.tar.gz
outils-680d7b7de224222fdec0801487342cbb3036834e.tar.xz
outils-680d7b7de224222fdec0801487342cbb3036834e.zip
cvs update
Diffstat (limited to 'src/usr.bin/vis')
-rw-r--r--src/usr.bin/vis/vis.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr.bin/vis/vis.c b/src/usr.bin/vis/vis.c
index 0ccba27..b32ccef 100644
--- a/src/usr.bin/vis/vis.c
+++ b/src/usr.bin/vis/vis.c
@@ -1,4 +1,4 @@
-/*	$OpenBSD: vis.c,v 1.15 2013/11/27 13:32:02 okan Exp $	*/
+/*	$OpenBSD: vis.c,v 1.16 2015/02/08 23:40:34 deraadt Exp $	*/
 /*	$NetBSD: vis.c,v 1.4 1994/12/20 16:13:03 jtc Exp $	*/
 
 /*-
@@ -59,7 +59,7 @@ main(int argc, char *argv[])
 			eflags |= VIS_ALL;
 			break;
 		case 'n':
-			none++;
+			none = 1;
 			break;
 		case 'w':
 			eflags |= VIS_WHITE;
@@ -86,14 +86,14 @@ main(int argc, char *argv[])
 			}
 			/*FALLTHROUGH*/
 		case 'f':
-			fold++;		/* fold output lines to 80 cols */
+			fold = 1;	/* fold output lines to 80 cols */
 			break;		/* using hidden newline */
 		case 'l':
-			markeol++;	/* mark end of line with \$ */
+			markeol = 1;	/* mark end of line with \$ */
 			break;
 #ifdef DEBUG
 		case 'd':
-			debug++;
+			debug = 1;
 			break;
 #endif
 		case '?':