only the first slot in PC92C should have version nos
[spider.git] / perl / DXProtout.pm
index 4f4da1e50677953c3d1a8235703f0e22849abff2..2325e7a5cb36c9c9d1bfd51531c3638d3e315314 100644 (file)
@@ -380,6 +380,7 @@ sub _gen_pc92
        my $s = "PC92^$main::mycall^" . gen_pc9x_t() . "^$sort";
        for (@_) {
                $s .= "^" . _encode_pc92_call($_, $ext);
+               $ext = 0;                               # only the first slot has an ext.
        }
        return $s . '^H99^';
 }