From e4c623988c72af17d3782b47c6c27677a1b1823d Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 24 Jul 2009 12:52:28 +0000 Subject: Fixed DIAGNOSTIC display (leading double-space only before BODY). --- mdoc_term.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mdoc_term.c b/mdoc_term.c index 33e37f05..0a4ee37c 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.61 2009/07/24 12:47:35 kristaps Exp $ */ +/* $Id: mdoc_term.c,v 1.62 2009/07/24 12:52:28 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -858,7 +858,8 @@ termp_it_pre(DECL_ARGS) switch (type) { case (MDOC_Diag): - term_word(p, "\\ \\ "); + if (MDOC_BODY == node->type) + term_word(p, "\\ \\ "); break; case (MDOC_Inset): if (MDOC_BODY == node->type) -- cgit v1.2.3-56-ge451