*really* changed the DX Spot to "the way it was"
authorDirk Koopman <djk@tobit.co.uk>
Fri, 26 Nov 2021 14:23:28 +0000 (14:23 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Fri, 26 Nov 2021 14:23:28 +0000 (14:23 +0000)
Changes
perl/DXCommandmode.pm
perl/Spot.pm

diff --git a/Changes b/Changes
index 67bf4dc74958980dd783d2c290274079fd5a8e7d..88901906eba4e0fa7fc438117299f37f5fc3693c 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,7 @@
+26Nov21=======================================================================
+1. *Really* change spot display format and sh/dx format "back the way they
+   were. But They won't stay that way for long!!!! There are four (yes, count
+   them) completely unused spaces at the end of the line!!!! 
 25Nov21=======================================================================
 1. Restored spot format back to the way it was.
 2. Added CTY-3127 prefixes
index 08b28acd3298b81d3ec7e644dd387aa70977698e..a5ae268b34c2b601eb176482453057e17e4c6e75 100644 (file)
@@ -1007,7 +1007,7 @@ sub format_dx_spot
 
        my $t = ztime($_[2]);
        my $loc = '';
-       my $clth = 31 + $self->{width} - 80;    # allow comment to grow according the screen width 
+       my $clth = 30 + $self->{width} - 80;    # allow comment to grow according the screen width 
        #       --$clth if $self->{consort} eq 'local';
        
        my $comment = substr (($_[3] || ''), 0, $clth);
index 385abb31bcbb49a556a3b2566c8f1bf1119acdc2..7f6265aca805c3fea907e9fdc19361b71d8ec7c6 100644 (file)
@@ -465,7 +465,7 @@ sub formatl
        $comment =~ s/\t+/ /g;
        my $cl = length $comment;
        my $s = sprintf "%9.1f %-11s %s %s", $_[1], $_[2], $d, $t;
-       my $width = ($_[0] ? $_[0] : 80) - length($spotter) - length($s) - 2;
+       my $width = ($_[0] ? $_[0] : 80) - length($spotter) - length($s) - 4;
        
        $comment = substr $comment, 0, $width if $cl > $width;
        $comment .= ' ' x ($width-$cl) if $cl < $width;