X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=reprap-play.git;a=blobdiff_plain;f=quacks-ingredients-counts;h=5377cbcb1d53e18e982b95d4bddbbe898d3e5ed5;hp=fefbc72a1c046874f5eafa9363acceca948780db;hb=HEAD;hpb=2132efba59634024b51ec9c19eb40a490081cfc9 diff --git a/quacks-ingredients-counts b/quacks-ingredients-counts index fefbc72..5377cbc 100755 --- a/quacks-ingredients-counts +++ b/quacks-ingredients-counts @@ -11,7 +11,7 @@ sub xdata ($) { my ($cb) = @_; return unless $which eq 'Base'; foreach my $count (qw(1 2 3)) { - foreach my $nspots (qw(1 2 3 4)) { + foreach my $nspots (qw(0 1 2 3 4)) { $_ = $cb->($count,$nspots)."\t".$_; } } @@ -20,7 +20,7 @@ sub xdata ($) { $_=; chomp or die; xdata sub { my ($xcount,$xnspots) = @_; - "${xcount}x". (qw(X One Two Three Four)[$xnspots]); + "${xcount}x". (qw(Zero One Two Three Four)[$xnspots]); }; our @names = split /\t/, $_;