patch from florian@, found with clang
-/* $Id: term.c,v 1.273 2017/06/14 23:24:18 schwarze Exp $ */
+/* $Id: term.c,v 1.274 2017/07/28 14:25:48 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org>
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) {