]> git.cameronkatri.com Git - mandoc.git/commitdiff
Using \(en for OpenBSD `Nd' (compromise with jmc@openbsd.org). VERSION_1_8_0
authorKristaps Dzonsons <kristaps@bsd.lv>
Tue, 14 Jul 2009 16:03:51 +0000 (16:03 +0000)
committerKristaps Dzonsons <kristaps@bsd.lv>
Tue, 14 Jul 2009 16:03:51 +0000 (16:03 +0000)
mdoc_term.c

index 1a59a3a0257a304ee0ad5041a09a29804f950fc3..12bea3918978110596cdf8bf94315ddbe6f7747a 100644 (file)
@@ -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