summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-28 16:54:23 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-28 16:54:23 +0000
commit7650e7c30edda619a052a896d1898ee9fd36b907 (patch)
treef4954b6e8f7e06eea2208a0a7f86330076be997f /mdoc_term.c
parent0d85bf1b1bfc29a9c4d093a17b107eb043630da7 (diff)
downloadmandoc-7650e7c30edda619a052a896d1898ee9fd36b907.tar.gz
mop up an #ifdef turd deraadt@ stepped into
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 4c11a3c3..be0a2ab0 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1227,14 +1227,8 @@ static int
termp_nd_pre(DECL_ARGS)
{
- if (MDOC_BODY != n->type)
- return(1);
-
-#if defined(__OpenBSD__) || defined(__linux__)
- term_word(p, "\\(en");
-#else
- term_word(p, "\\(em");
-#endif
+ if (n->type == MDOC_BODY)
+ term_word(p, "\\(en");
return(1);
}