summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-12 22:51:18 +0000
committerderaadt <deraadt@openbsd.org>2013-11-12 22:51:18 +0000
commitbe3503484ead649cd5df2037aa71d8a3287ac2c8 (patch)
treeb39d91c10c2b2b9d9c49ff572b40e4c212b7190f
parentsimple prototype repairs (diff)
downloadwireguard-openbsd-be3503484ead649cd5df2037aa71d8a3287ac2c8.tar.xz
wireguard-openbsd-be3503484ead649cd5df2037aa71d8a3287ac2c8.zip
clarify a simple expression
-rw-r--r--usr.bin/vis/foldit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/vis/foldit.c b/usr.bin/vis/foldit.c
index 5ae3f863695..f9abd9963f2 100644
--- a/usr.bin/vis/foldit.c
+++ b/usr.bin/vis/foldit.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: foldit.c,v 1.6 2013/11/12 13:54:51 deraadt Exp $ */
+/* $OpenBSD: foldit.c,v 1.7 2013/11/12 22:51:18 deraadt Exp $ */
/* $NetBSD: foldit.c,v 1.4 1994/12/20 16:13:02 jtc Exp $ */
/*-
@@ -52,7 +52,7 @@ again:
col = 0;
break;
case '\t':
- col = col + 8 &~ 07;
+ col = (col + 8) & ~07;
break;
case '\b':
col = col ? col - 1 : 0;