summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-18 19:13:45 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-07-18 19:13:45 +0000
commit02cdff506154f56833ff6416f88443960b22cb83 (patch)
tree20b958e64968c926eef1b72b46bdf34db0bce375 /usr.bin/mandoc
parent5d77caa5eace2b73a60b9a60bf0d22d49dceeea3 (diff)
sync to 1.8.0: for .Fo, do not print a blank before '('
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/mdoc_term.c5
1 files changed, 2 insertions, 3 deletions
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 <kristaps@kth.se>
*
@@ -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);