summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-16 13:27:24 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-16 13:27:24 +0000
commit5788bca96fe63ad62b2e8fd017671404c90b444e (patch)
tree1a3cc6b4982f2caba09b350d500e73bbbc2c8a60 /mdoc_term.c
parentaca7ae2918a380aa3742a8d4b74b75a4a6a2e7ef (diff)
downloadmandoc-5788bca96fe63ad62b2e8fd017671404c90b444e.tar.gz
mandoc-5788bca96fe63ad62b2e8fd017671404c90b444e.tar.zst
mandoc-5788bca96fe63ad62b2e8fd017671404c90b444e.zip
Off-by-one space fixed for `Bl -diag'.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 8381174b..ea58a790 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_term.c,v 1.42 2009/07/15 08:20:43 kristaps Exp $ */
+/* $Id: mdoc_term.c,v 1.43 2009/07/16 13:27:24 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -797,9 +797,6 @@ termp_it_pre(DECL_ARGS)
*/
switch (type) {
- case (MDOC_Diag):
- term_word(p, "\\ ");
- /* FALLTHROUGH */
case (MDOC_Inset):
if (MDOC_BODY == node->type)
p->flags &= ~TERMP_NOSPACE;
@@ -988,6 +985,7 @@ termp_it_post(DECL_ARGS)
switch (type) {
case (MDOC_Diag):
+ term_word(p, "\\ ");
/* FALLTHROUGH */
case (MDOC_Item):
/* FALLTHROUGH */