]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix off-by-1 in todo page generator
authorDaniel P. Berrange <dan@berrange.com>
Fri, 5 Nov 2010 13:24:04 +0000 (13:24 +0000)
committerDaniel P. Berrange <dan@berrange.com>
Fri, 5 Nov 2010 13:24:04 +0000 (13:24 +0000)
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

index 5db940fcaeb343f8353dfb1612be9bc8497748e8..e6da41845bc99a5d10095b802d1b8df5e6dafa05 100755 (executable)
@@ -97,7 +97,7 @@ if (defined $blurb) {
     print "    </p>\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};