From c5b2462b76dc92a73a1f5ae0226aea1b37d83f0e Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Wed, 2 Dec 2009 10:16:55 +0000 Subject: Fixed handling of exampledir (pointed out by Ulrich Sporlein, forgotten, discovered again). --- mdoc_html.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index c415909c..66ce08c7 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1573,9 +1573,9 @@ mdoc_vt_pre(MDOC_ARGS) struct roffsu su; if (SEC_SYNOPSIS == n->sec) { - if (n->next && MDOC_Vt != n->next->tok) { + if (n->prev && MDOC_Vt != n->prev->tok) { SCALE_VS_INIT(&su, 1); - bufcat_su(h, "margin-bottom", &su); + bufcat_su(h, "margin-top", &su); PAIR_STYLE_INIT(&tag, h); print_otag(h, TAG_DIV, 1, &tag); } else -- cgit