- airportinfo(): remove superfluous indices of threshold/stopway
- restore consistent coding style: no 2-space spaghetti code indentation, remove trailing spaces, no spaces after ( and before )
This commit is contained in:
parent
82fcff36da
commit
f2398fd983
1 changed files with 20 additions and 20 deletions
|
@ -569,8 +569,8 @@ static naRef f_airportinfo(naContext c, naRef me, int argc, naRef* args)
|
|||
HASHSET("heading", 7, naNum(rwy->headingDeg()));
|
||||
HASHSET("length", 6, naNum(rwy->lengthM()));
|
||||
HASHSET("width", 5, naNum(rwy->widthM()));
|
||||
HASHSET("threshold1", 10, naNum(rwy->_displ_thresh * SG_FEET_TO_METER));
|
||||
HASHSET("stopway1", 8, naNum(rwy->_stopway * SG_FEET_TO_METER));
|
||||
HASHSET("threshold", 9, naNum(rwy->_displ_thresh * SG_FEET_TO_METER));
|
||||
HASHSET("stopway", 7, naNum(rwy->_stopway * SG_FEET_TO_METER));
|
||||
#undef HASHSET
|
||||
naHash_set(rwys, rwyid, rwydata);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue