summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@netbsd.org>2010-05-22 20:41:48 +0000
committerJoerg Sonnenberger <joerg@netbsd.org>2010-05-22 20:41:48 +0000
commit0b1b72864709f6f64ee9b7b7ae62fc48c353b7bb (patch)
tree6cad929ef89e87ee9a891cd23723ac2026c548a3
parent41d9b170c7b42983a19512299728396ddf884d98 (diff)
downloadmandoc-0b1b72864709f6f64ee9b7b7ae62fc48c353b7bb.tar.gz
Fix 1.125: Add missing return in termp_nm_pre.
-rw-r--r--mdoc_term.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index daec2760..aed7bd1e 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1044,6 +1044,7 @@ termp_nm_pre(DECL_ARGS)
{
if (NULL == n->child && NULL == m->name)
+ return(1);
if (SEC_SYNOPSIS == n->sec && MDOC_LINE & n->flags)
term_newln(p);