aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-04-05 22:05:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-04-05 22:05:08 +0000
commit1de5b4832f2d7c185588aedb42431c1d4136c3b3 (patch)
tree0aa6bc1b23b1356c32a2595814e3372c7a65eeb9 /mdoc_man.c
parent1c1ba65545965eff1a913c0642c80c26b5bc91de (diff)
downloadmandoc-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index 09ebb49c..270b3042 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -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: