From: Daniel P. Berrange Date: Fri, 5 Nov 2010 13:24:04 +0000 (+0000) Subject: Fix off-by-1 in todo page generator X-Git-Tag: v0.8.6~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a59dde7869b10e64fb86c73f42f4a6299830dc9e;p=thirdparty%2Flibvirt.git Fix off-by-1 in todo page generator The todo.pl script had an off-by-1 which meant any category with only a single bug would not appear * docs/todo.pl: Fix off-by-1 --- diff --git a/docs/todo.pl b/docs/todo.pl index 5db940fcae..e6da41845b 100755 --- a/docs/todo.pl +++ b/docs/todo.pl @@ -97,7 +97,7 @@ if (defined $blurb) { print "

\n"; } foreach my $tracker (sort { $a->{summary} cmp $b->{summary} } @trackers) { - next unless $#{$tracker->{features}} > 0; + next unless $#{$tracker->{features}} >= 0; my $summary = &escape($tracker->{summary}); my $id = $tracker->{id};