From: schwarze Date: Wed, 25 Dec 2013 21:24:03 +0000 (+0000) Subject: Oops, .Fa never breaks the output line in the middle of any of its X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6fa9be57b1edab19fc3ad5625fa41ca77aa3203a;p=openbsd 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... --- 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 * Copyright (c) 2010, 2012, 2013 Ingo Schwarze @@ -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);