diff --git a/tests/toc.t b/tests/toc.t index 7c15986..0d1ff40 100644 --- a/tests/toc.t +++ b/tests/toc.t @@ -105,12 +105,12 @@ try '-T -ftoc' 'uniquifying duplicate labels' \ # this' \ '

this

- +

this

' diff --git a/toc.c b/toc.c index 58f687e..a53c5d4 100644 --- a/toc.c +++ b/toc.c @@ -117,14 +117,12 @@ decollide(Paragraph *current, Cstring *name, int suffix) int seq = 0; char *sufp; -#if 0 /* first decollide all the children */ for ( content = current; content; content = content->next ) { if ( content->down ) decollide(content->down, name, suffix); } -#endif restart: for ( content = current; content; content = content->next ) {