fix problem with only some 17m spots coming out in sh/dx on 17m
[spider.git] / perl / Spot.pm
index 420025e6ed8f0d1445f5fd8ec5cfc85e1ce9a275..28a8dd7201a9690abb654aba76cec1cb75c2b0b6 100644 (file)
@@ -250,7 +250,7 @@ sub ftor
        while (@b) {
                my $aa = shift @a;
                my $bb = shift @b;
-               if (@b < (length $d) - 1) {
+               if (@b < (length $d)) {
                        $out .= '\\d';
                } elsif ($aa eq $bb) {
                        $out .= $aa;