summaryrefslogtreecommitdiffstatshomepage
path: root/man.c
diff options
context:
space:
mode:
Diffstat (limited to 'man.c')
-rw-r--r--man.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/man.c b/man.c
index 14004c55..7d197ff4 100644
--- a/man.c
+++ b/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.21 2009/06/16 19:55:28 kristaps Exp $ */
+/* $Id: man.c,v 1.22 2009/06/18 10:32:00 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -182,6 +182,8 @@ man_node_append(struct man *man, struct man_node *p)
abort();
/* NOTREACHED */
}
+
+ p->parent->nchild++;
man->last = p;