summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 08:45:56 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-12 08:45:56 +0000
commit75ff01a8b81fe18b03343d9dd6b5a0f8321641e9 (patch)
tree3a9559da9f46b61518063650aac885040d12fe46 /mdoc_term.c
parent62cb138722ef758b0135df0bc667e71c6e9d7f2b (diff)
downloadmandoc-75ff01a8b81fe18b03343d9dd6b5a0f8321641e9.tar.gz
Added \(hy symbol.
Properly categorised \- as an arithmetic minus sign. Nd produces \(em instead of old \-. OpenBSD ifdef'd to use old \- after Nd (ok: jmc@openbsd.org).
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 5cd50eee..866b2380 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1135,7 +1135,11 @@ static int
termp_nd_pre(DECL_ARGS)
{
+#ifdef __OpenBSD__
term_word(p, "\\-");
+#else
+ term_word(p, "\\(em");
+#endif
return(1);
}