mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #837 Using new abbreviated syntax for null units.
This commit is contained in:
@@ -79,7 +79,7 @@ namespace BlackMisc
|
||||
bool ok = false;
|
||||
double dv = v.toDouble(&ok) * 100.0;
|
||||
CAltitude a(ok ? dv : 0.0, FlightLevel,
|
||||
ok ? CLengthUnit::ft() : CLengthUnit::nullUnit());
|
||||
ok ? CLengthUnit::ft() : nullptr);
|
||||
*this = a;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user