From: minima Date: Sun, 20 Feb 2005 23:18:52 +0000 (+0000) Subject: fix pc19 version nos X-Git-Tag: R_1_52~179 X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ff0316b070de2d3a7cecd638e87fba47fa7aeaf5;p=spider.git fix pc19 version nos --- diff --git a/perl/DXProtout.pm b/perl/DXProtout.pm index 0e12aa10..5edb4a41 100644 --- a/perl/DXProtout.pm +++ b/perl/DXProtout.pm @@ -141,6 +141,8 @@ sub pc19 my $here = $ref->here; my $conf = $ref->conf; my $version = $ref->version; + $version = 5300 * int($version*100) if $version < 2; + $version = 5250 * int($version*100) if $version < 3; my $str = "^$here^$call^$conf^$version"; if (length($s) + length($str) > $sentencelth) { push @out, "PC19" . $s . sprintf "^%s^", get_hops(19);