summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-01 14:51:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-01 14:51:09 +0000
commit13a83155f6409b661fc63fad89e4f0f88094ca1a (patch)
tree94e7e7dcc59f59d99d86228ad9396f935c2f3516 /mdoc_term.c
parent647ee9325fcc144ebe4e0da3fd4b8d4b9a16f53b (diff)
downloadmandoc-13a83155f6409b661fc63fad89e4f0f88094ca1a.tar.gz
De Morgan's law not being applied properly. Noted by Ulrich Spoerlein.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 6344b22d..94981f19 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1872,7 +1872,7 @@ termp_in_post(DECL_ARGS)
term_word(p, ">");
term_fontpop(p);
- if (SEC_SYNOPSIS != n->sec && ! (MDOC_LINE & n->flags))
+ if (SEC_SYNOPSIS != n->sec || ! (MDOC_LINE & n->flags))
return;
term_newln(p);