summaryrefslogtreecommitdiff
path: root/bk_man.c
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2005-05-18 12:09:06 +0000
committerBen Harris <bjh21@bjh21.me.uk>2005-05-18 12:09:06 +0000
commit4ddb3080fde9e658dfff4a27123ace693f595986 (patch)
tree684f7fd733fa3a2548ba4a82b916770825d4d963 /bk_man.c
parente0cce79cf40ca89ded697a27af804355ef9512a3 (diff)
downloadhalibut-4ddb3080fde9e658dfff4a27123ace693f595986.zip
halibut-4ddb3080fde9e658dfff4a27123ace693f595986.tar.gz
halibut-4ddb3080fde9e658dfff4a27123ace693f595986.tar.bz2
halibut-4ddb3080fde9e658dfff4a27123ace693f595986.tar.xz
The heading depth of a para_Subsect is p->aux+1, not p->aux+2.
Spotted (indirectly) by Damien Miller. [originally from svn r5802]
Diffstat (limited to 'bk_man.c')
-rw-r--r--bk_man.c2
1 files changed, 1 insertions, 1 deletions
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