diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 19:34:51 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 19:34:51 +0000 |
commit | 08bcf12c6b903e4d22a5862ab62f653ab5b5bdb0 (patch) | |
tree | 4a3b99e3f3a3ee288f121875ec2c0e307cffce76 /mdoc_term.c | |
parent | 0d6441e0b3a430bc7872d4a273aac79e82102b10 (diff) | |
download | mandoc-08bcf12c6b903e4d22a5862ab62f653ab5b5bdb0.tar.gz mandoc-08bcf12c6b903e4d22a5862ab62f653ab5b5bdb0.tar.zst mandoc-08bcf12c6b903e4d22a5862ab62f653ab5b5bdb0.zip |
Fixed `Fo' superfluous space before `('. Noted groff compatibility in mdoc.7.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 7fb24be3..d8290735 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.32 2009/07/12 19:28:46 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.33 2009/07/12 19:34:51 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se> * @@ -1941,14 +1941,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); |