summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-14 16:03:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-14 16:03:51 +0000
commit0a73b8ecc67f8ef65a270d0c20ebe29f454052b8 (patch)
treecbc7e0cd41cc172cf6461b30949252fd8fbddf64
parent6f7ef8ebab921317f3d3e99689e825346712fb64 (diff)
downloadmandoc-VERSION_1_8_0.tar.gz
mandoc-VERSION_1_8_0.tar.zst
mandoc-VERSION_1_8_0.zip
Using \(en for OpenBSD `Nd' (compromise with jmc@openbsd.org).VERSION_1_8_0
-rw-r--r--mdoc_term.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 1a59a3a0..12bea391 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.40 2009/07/14 15:49:44 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.41 2009/07/14 16:03:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -1140,13 +1140,8 @@ termp_nd_pre(DECL_ARGS)
if (MDOC_BODY != node->type)
return(1);
- /*
- * XXX: signed off by jmc@openbsd.org. This technically
- * produces a minus sign after the Nd, which is wrong, but is
- * consistent with the historic OpenBSD tmac file.
- */
#if defined(__OpenBSD__) || defined(__linux__)
- term_word(p, "\\-");
+ term_word(p, "\\(en");
#else
term_word(p, "\\(em");
#endif