diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-05 22:05:08 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-04-05 22:05:08 +0000 |
commit | 1de5b4832f2d7c185588aedb42431c1d4136c3b3 (patch) | |
tree | 0aa6bc1b23b1356c32a2595814e3372c7a65eeb9 /mdoc_man.c | |
parent | 1c1ba65545965eff1a913c0642c80c26b5bc91de (diff) | |
download | mandoc-1de5b4832f2d7c185588aedb42431c1d4136c3b3.tar.gz mandoc-1de5b4832f2d7c185588aedb42431c1d4136c3b3.tar.zst mandoc-1de5b4832f2d7c185588aedb42431c1d4136c3b3.zip |
Do not use a non-portable .R man(7) macro. Neither groff nor the
heirloom-doctools support it. Work around the gap by using .BR
with an empty first argument. This was noticed more than once in
the past, but i always forgot to fix it.
Diffstat (limited to 'mdoc_man.c')
-rw-r--r-- | mdoc_man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc_man.c,v 1.124 2018/04/05 08:47:16 schwarze Exp $ */ +/* $Id: mdoc_man.c,v 1.125 2018/04/05 22:05:08 schwarze Exp $ */ /* * Copyright (c) 2011-2017 Ingo Schwarze <schwarze@openbsd.org> * @@ -1408,7 +1408,7 @@ pre_it(DECL_ARGS) if (bln->norm->Bl.type == LIST_diag) print_line(".B \"", 0); else - print_line(".R \"", 0); + print_line(".BR \\& \"", 0); outflags &= ~MMAN_spc; return 1; case LIST_bullet: |