From: ben Date: Wed, 18 May 2005 12:09:06 +0000 (+0000) Subject: The heading depth of a para_Subsect is p->aux+1, not p->aux+2. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/commitdiff_plain/e4f8c48e7ae1605733e86c223f64eb7b6438c299 The heading depth of a para_Subsect is p->aux+1, not p->aux+2. Spotted (indirectly) by Damien Miller. git-svn-id: svn://svn.tartarus.org/sgt/halibut@5802 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/bk_man.c b/bk_man.c index bf78905..eaf74b5 100644 --- a/bk_man.c +++ b/bk_man.c @@ -199,7 +199,7 @@ void man_backend(paragraph *sourceform, keywordlist *keywords, { int depth; if (p->type == para_Subsect) - depth = p->aux + 2; + depth = p->aux + 1; else if (p->type == para_Heading) depth = 1; else