Fix a small bug in handling of x-plane data.
This commit is contained in:
parent
53d6419b43
commit
56dfd0985d
1 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ while ( <> ) {
|
|||
}
|
||||
|
||||
my( $vasi1 );
|
||||
if ( $xpvasi1 == 1 ) {
|
||||
if ( $xpvasi1 == 0 || $xpvasi1 == 1 ) {
|
||||
$vasi1 = "N";
|
||||
} elsif ( $xpvasi1 == 2 ) {
|
||||
$vasi1 = "V";
|
||||
|
@ -173,7 +173,7 @@ while ( <> ) {
|
|||
}
|
||||
|
||||
my( $vasi2 );
|
||||
if ( $xpvasi2 == 1 ) {
|
||||
if ( $xpvasi2 == 0 || $xpvasi2 == 1 ) {
|
||||
$vasi2 = "N";
|
||||
} elsif ( $xpvasi2 == 2 ) {
|
||||
$vasi2 = "V";
|
||||
|
|
Loading…
Reference in a new issue