aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/man_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 13:53:07 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-12-06 13:53:07 +0000
commit301510db190299a41fef4730b4164453a42510d1 (patch)
tree1b5e0844474d6ef3817b5a5f2218a08cd93f841e /man_term.c
parent46d1f3eee23beaa8e6de58c950414594a9534242 (diff)
downloadmandoc-301510db190299a41fef4730b4164453a42510d1.tar.gz
mandoc-301510db190299a41fef4730b4164453a42510d1.tar.zst
mandoc-301510db190299a41fef4730b4164453a42510d1.zip
Header for `PP', `P', and `LP' should never be printed.
Diffstat (limited to 'man_term.c')
-rw-r--r--man_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_term.c b/man_term.c
index fa51615d..9e8fc45d 100644
--- a/man_term.c
+++ b/man_term.c
@@ -1,4 +1,4 @@
-/* $Id: man_term.c,v 1.86 2010/12/05 16:14:16 kristaps Exp $ */
+/* $Id: man_term.c,v 1.87 2010/12/06 13:53:07 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -492,7 +492,7 @@ pre_PP(DECL_ARGS)
break;
}
- return(1);
+ return(MAN_HEAD != n->type);
}