summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 22:26:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-04 22:26:13 +0000
commitc0bd4d8642efa31760893cbdb4d7cd54c6afe4dd (patch)
tree6d99e6472be10acf3f59b0bec2b4f7a0427dc196 /mdoc_term.c
parent60594285aadf7b17048d8d3b552c3b12563f3622 (diff)
downloadmandoc-c0bd4d8642efa31760893cbdb4d7cd54c6afe4dd.tar.gz
Fix following the first: `Ft' is given special treatment if specified before
`Fn'.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 63f63186..6e023feb 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1538,7 +1538,9 @@ termp_fn_pre(DECL_ARGS)
/* NB: MDOC_LINE has no effect on this macro! */
if (SEC_SYNOPSIS == n->sec) {
- if (n->prev)
+ if (n->prev && MDOC_Ft == n->prev->tok)
+ term_newln(p);
+ else if (n->prev)
term_vspace(p);
}