summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-25 21:24:04 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2013-12-25 21:24:04 +0000
commit59ac377359fa397ddb913d0baa273ade5d4af7ba (patch)
tree73820d17828b0dee852315dcff60834f7274a404
parentd53c70a99ed209b0d5111d33d1e336dcbbc78cf6 (diff)
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--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 8185419b591..68b2311fc63 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.159 2013/12/25 15:12:39 schwarze Exp $ */
+/* $Id: mdoc_term.c,v 1.160 2013/12/25 21:24:03 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
@@ -1597,8 +1597,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);