From f3d3e53ced24d5eca5ddd302b0b4a32c119728bc Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 12 Jul 2009 08:45:56 +0000 Subject: 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). --- mdoc_term.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mdoc_term.c') diff --git a/mdoc_term.c b/mdoc_term.c index 8e4db782..cecdb9ce 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.22 2009/07/07 11:47:17 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.23 2009/07/12 08:45:56 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -1135,7 +1135,11 @@ static int termp_nd_pre(DECL_ARGS) { +#ifdef __OpenBSD__ term_word(p, "\\-"); +#else + term_word(p, "\\(em"); +#endif return(1); } -- cgit v1.2.3-56-ge451