use + not * for veriosn
authorminima <minima>
Sun, 20 Feb 2005 23:21:10 +0000 (23:21 +0000)
committerminima <minima>
Sun, 20 Feb 2005 23:21:10 +0000 (23:21 +0000)
perl/DXProtout.pm

index 5edb4a4138358b63bd68b118d16c4b0ac5196348..9792d161f9de0aafe254b001ffbfee5667474bce 100644 (file)
@@ -141,8 +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;
+               $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);