summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-28 14:25:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-28 14:25:48 +0000
commit240a95dd38912a856ad5caf04ea0d485680a3b53 (patch)
treec7dac32889b639ade7d72dbce5b3152cec653ce5
parent704dc9f010574f72edab17fa37ea4e1838cded01 (diff)
downloadmandoc-240a95dd38912a856ad5caf04ea0d485680a3b53.tar.gz
fix typo in TERMP_MULTICOL flag test;
patch from florian@, found with clang
-rw-r--r--term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/term.c b/term.c
index 6d8cf9a3..a69f8c3d 100644
--- a/term.c
+++ b/term.c
@@ -129,7 +129,7 @@ term_flushln(struct termp *p)
p->maxrmargin - p->viscol - vbl : 0;
vis = vend = 0;
- if ((p->flags && TERMP_MULTICOL) == 0)
+ if ((p->flags & TERMP_MULTICOL) == 0)
p->tcol->col = 0;
while (p->tcol->col < p->tcol->lastcol) {