summaryrefslogtreecommitdiffstats
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
commit301473787fdb239a8b3831bfbec8021eae2f9795 (patch)
tree75a6d7efceefae6a8baa3de771de995a939f7bc6 /mdoc_term.c
parente2499b83d7cb9ea91422b22a43415a5d3e9270b4 (diff)
downloadmandoc-301473787fdb239a8b3831bfbec8021eae2f9795.tar.gz
Off-by-one space fixed for `Bl -diag'.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 1f45bb8e..e4a3bdc5 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -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 */