aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 62f55b4d..6edaf534 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.26 2009/07/12 16:52:41 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.27 2009/07/12 16:55:11 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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");