change so that ve7cc gets CC11 frames
authorminima <minima>
Sun, 19 Dec 2004 13:14:14 +0000 (13:14 +0000)
committerminima <minima>
Sun, 19 Dec 2004 13:14:14 +0000 (13:14 +0000)
cmd/show/dx.pl

index f28ae1a4d7df6235498dedd90d1cf5d7c5c279fe..009b5fa6f24f8147887e8625af40919e6e879a24 100644 (file)
@@ -346,10 +346,14 @@ my @res = Spot::search($expr, $fromday, $today, $from, $to, $hint, $dofilter ? $
 my $ref;
 my @dx;
 foreach $ref (@res) {
-       if ($real) {
-               push @out, $self->format_dx_spot(@$ref);
+       if ($self->ve7cc) {
+               push @out, VE7CC::dx_spot($self, @$ref);
        } else {
-               push @out, Spot::formatl(@$ref);
+               if ($real) {
+                       push @out, $self->format_dx_spot(@$ref);
+               } else {
+                       push @out, Spot::formatl(@$ref);
+               }
        }
 }