From a59dde7869b10e64fb86c73f42f4a6299830dc9e Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 5 Nov 2010 13:24:04 +0000 Subject: [PATCH] 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 --- docs/todo.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- 2.47.2