summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index d73c676c..a1b09ba2 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -908,7 +908,7 @@ termp_it_pre(DECL_ARGS)
/* FALLTHROUGH */
case (MDOC_Hyphen):
p->flags |= TERMP_BOLD;
- term_word(p, "\\-");
+ term_word(p, "\\(hy");
break;
case (MDOC_Enum):
(pair->ppair->ppair->count)++;
@@ -1137,7 +1137,7 @@ termp_nd_pre(DECL_ARGS)
* produces a minus sign after the Nd, which is wrong, but is
* consistent with the historic OpenBSD tmac file.
*/
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) || defined(__linux__)
term_word(p, "\\-");
#else
term_word(p, "\\(em");