aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-12-25 21:24:12 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-12-25 21:24:12 +0000
commitc257c6a9fce6e68baddeccd962cfdc9773ad416d (patch)
treef4659468eb209d151ecdfa08bb794a2e2b63fdec
parent6f58f3257114b8bb4b7f4e0d49a52b8f7f8688e3 (diff)
downloadmandoc-c257c6a9fce6e68baddeccd962cfdc9773ad416d.tar.gz
mandoc-c257c6a9fce6e68baddeccd962cfdc9773ad416d.tar.zst
mandoc-c257c6a9fce6e68baddeccd962cfdc9773ad416d.zip
Oops, .Fa never breaks the output line in the middle of any of its
arguments, not even outside SYNOPSIS mode. Quite surprising as .Fn does break the line in the middle of its arguments outside SYNOPSIS mode, and only doesn't do that in SYNOPSIS mode. Wonders of groff...
-rw-r--r--mdoc_term.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 3564e06e..268fcae0 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.257 2013/12/25 15:12:45 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.258 2013/12/25 21:24:12 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -1601,8 +1601,7 @@ termp_fa_pre(DECL_ARGS)
for (nn = n->child; nn; nn = nn->next) {
term_fontpush(p, TERMFONT_UNDER);
- if (MDOC_SYNPRETTY & n->flags)
- p->flags |= TERMP_NBRWORD;
+ p->flags |= TERMP_NBRWORD;
term_word(p, nn->string);
term_fontpop(p);