From ff0316b070de2d3a7cecd638e87fba47fa7aeaf5 Mon Sep 17 00:00:00 2001 From: minima Date: Sun, 20 Feb 2005 23:18:52 +0000 Subject: [PATCH] fix pc19 version nos --- perl/DXProtout.pm | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.43.0