From 2e493faeaab58de8effeb7c8bfb2d1e721f25d56 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 28 Jul 2017 14:25:48 +0000 Subject: fix typo in TERMP_MULTICOL flag test; patch from florian@, found with clang --- term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/term.c b/term.c index 595390b6..f67fcf9d 100644 --- a/term.c +++ b/term.c @@ -1,4 +1,4 @@ -/* $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 * Copyright (c) 2010-2017 Ingo Schwarze @@ -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) { -- cgit v1.2.3-56-ge451