diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-28 14:25:48 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-28 14:25:48 +0000 |
commit | 2e493faeaab58de8effeb7c8bfb2d1e721f25d56 (patch) | |
tree | 3b346f86099d3d32a04f8b19ba8cf1cb1b1e6b89 /term.c | |
parent | c3f94b4fee9d2d5fb772f01f4d85d3b273174e76 (diff) | |
download | mandoc-2e493faeaab58de8effeb7c8bfb2d1e721f25d56.tar.gz mandoc-2e493faeaab58de8effeb7c8bfb2d1e721f25d56.tar.zst mandoc-2e493faeaab58de8effeb7c8bfb2d1e721f25d56.zip |
fix typo in TERMP_MULTICOL flag test;
patch from florian@, found with clang
Diffstat (limited to 'term.c')
-rw-r--r-- | term.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <kristaps@bsd.lv> * Copyright (c) 2010-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -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) { |