+25Jul00=======================================================================
+1. ignore \n in ax25 mode for C client.
+2. remove extra space at the end of a DX spot announce when no grid square
+is output.
20Jul00=======================================================================
1. Finally managed to update my source with the sourceforge one
2. added user->qra cleaning in various places
my $user = DXUser->get_current($spot[4]);
if ($user) {
my $qra = $user->qra;
- if (!DXBearing::is_qra) {
+ unless ($qra && DXBearing::is_qra($qra)) {
my $lat = $user->lat;
my $long = $user->long;
if (defined $lat && defined $long) {
my $t = ztime($dx[2]);
my $ref = DXUser->get_current($dx[4]);
my $loc = $ref->qra if $ref && $ref->qra;
- $loc = substr($ref->qra, 0, 4) if $loc;
+ $loc = ' ' . substr($ref->qra, 0, 4) if $loc;
$loc = "" unless $loc;
- return sprintf "DX de %-7.7s%11.1f %-12.12s %-30s %s $loc", "$dx[4]:", $dx[0], $dx[1], $dx[3], $t ;
+ return sprintf "DX de %-7.7s%11.1f %-12.12s %-30s %s$loc", "$dx[4]:", $dx[0], $dx[1], $dx[3], $t ;
}
# format a spot for user output in list mode