diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 08:45:56 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-12 08:45:56 +0000 |
commit | 75ff01a8b81fe18b03343d9dd6b5a0f8321641e9 (patch) | |
tree | 3a9559da9f46b61518063650aac885040d12fe46 /mdoc_term.c | |
parent | 62cb138722ef758b0135df0bc667e71c6e9d7f2b (diff) | |
download | mandoc-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.c | 4 |
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); } |