From 02cdff506154f56833ff6416f88443960b22cb83 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 18 Jul 2009 19:13:45 +0000 Subject: sync to 1.8.0: for .Fo, do not print a blank before '(' --- usr.bin/mandoc/mdoc_term.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin') diff --git a/usr.bin/mandoc/mdoc_term.c b/usr.bin/mandoc/mdoc_term.c index 320cf462b40..19cfc5c50c3 100644 --- a/usr.bin/mandoc/mdoc_term.c +++ b/usr.bin/mandoc/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.30 2009/07/18 19:00:30 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.31 2009/07/18 19:13:44 schwarze Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -1936,14 +1936,13 @@ termp_fo_pre(DECL_ARGS) const struct mdoc_node *n; if (MDOC_BODY == node->type) { + p->flags |= TERMP_NOSPACE; term_word(p, "("); p->flags |= TERMP_NOSPACE; return(1); } else if (MDOC_HEAD != node->type) return(1); - /* XXX - groff shows only first parameter */ - p->flags |= ttypes[TTYPE_FUNC_NAME]; for (n = node->child; n; n = n->next) { assert(MDOC_TEXT == n->type); -- cgit v1.2.3