--- db/prgsrc/createindex.pl 2000/10/18 21:25:34 1.3 +++ db/prgsrc/createindex.pl 2002/11/09 04:11:49 1.5 @@ -15,7 +15,7 @@ This script will dump the current inform tree to the standard output or I in the format ç|I N*tabstops I -where ç is for groups, I is for packages, N is the depth+2, I +where ç is for groups, I is for packages, N is the depth+2, I is the name of the group/tournament =head1 BUGS @@ -26,7 +26,7 @@ The database, user and password are hard Boris Veytsman -=head1 $Id: createindex.pl,v 1.3 2000/10/18 21:25:34 boris Exp $ +=head1 $Id: createindex.pl,v 1.5 2002/11/09 04:11:49 boris Exp $ =cut @@ -61,7 +61,7 @@ exit 0; sub PrintAll { my ($dbh, $Id, $depth) = @_; my (%Tournament) = &GetTournament($dbh, $Id); - my (@Tours) = &GetTours($dbh, $Id); + my (@Tours) = &GetTours($dbh, $Id); if ($Id) { if ($Tournament{'Type'} eq 'ç') { for (my $i=0; $i<=$depth; $i++) { @@ -77,7 +77,7 @@ sub PrintAll { for (my $i=0; $i<$length; $i++) { print " "; } - for (my $i=1; $i<$depth; $i++) { + for (my $i=0; $i<$depth; $i++) { print "\t"; } print $Tournament{'Title'}, "\n";