From e5ea753eb8a3d3f842905f089a5cd3c43d34370a Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 4 Jun 2010 22:26:13 +0000 Subject: Fix following the first: `Ft' is given special treatment if specified before `Fn'. --- mdoc_term.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'mdoc_term.c') diff --git a/mdoc_term.c b/mdoc_term.c index 567d9aad..fec3bf48 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.139 2010/06/04 22:16:27 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.140 2010/06/04 22:26:13 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -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); } -- cgit v1.2.3