summaryrefslogtreecommitdiffstats
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2012-07-08 13:57:53 +0000
committerIngo Schwarze <schwarze@openbsd.org>2012-07-08 13:57:53 +0000
commitc5aaf69a54301c1ddf9fcf8f6c20b73dce26abb5 (patch)
tree1ee3592ca5e79a91c3aefb7607f212b2150b358b /mdoc_man.c
parent2935e95e7011981f3751bdbcf10611989ebda4ec (diff)
downloadmandoc-c5aaf69a54301c1ddf9fcf8f6c20b73dce26abb5.tar.gz
implement -Tman .Va
and fix -Tman .Vt for the non-SYNOPSIS case OpenBSD rev. 1.17
Diffstat (limited to 'mdoc_man.c')
-rw-r--r--mdoc_man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 49538422..3d4b11b8 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -134,7 +134,7 @@ static const struct manact manacts[MDOC_MAX + 1] = {
"variable \\fIerrno\\fP is set to indicate the error."
}, /* Rv */
{ NULL, NULL, NULL, NULL, NULL }, /* St */
- { NULL, NULL, NULL, NULL, NULL }, /* _Va */
+ { NULL, pre_enc, post_enc, "\\fI", "\\fP" }, /* Va */
{ NULL, pre_vt, post_vt, NULL, NULL }, /* Vt */
{ NULL, pre_xr, NULL, NULL, NULL }, /* Xr */
{ NULL, NULL, post_percent, NULL, NULL }, /* _%A */
@@ -875,7 +875,7 @@ static void
post_vt(DECL_ARGS)
{
- if (MDOC_BODY != n->type)
+ if (MDOC_SYNPRETTY & n->flags && MDOC_BODY != n->type)
return;
mm->need_space = 0;