From a133e7a4d2fd162f67b1fa6eb34b490a710459e5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 24 May 1997 10:47:33 +0000 Subject: 1997-05-21 17:53 Miles Bader * argp-help.c (hol_add_cluster): Initialize CL->depth. --- argp/argp-help.c | 1 + 1 file changed, 1 insertion(+) (limited to 'argp') diff --git a/argp/argp-help.c b/argp/argp-help.c index da6c147c30..cd54efcffe 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -458,6 +458,7 @@ hol_add_cluster (struct hol *hol, int group, const char *header, int index, cl->index = index; cl->parent = parent; cl->argp = argp; + cl->depth = parent ? parent->depth + 1 : 0; cl->next = hol->clusters; hol->clusters = cl; -- cgit 1.4.1