Minor comment fixes
This commit is contained in:
parent
4403f22a8b
commit
e37fd6ea1f
2 changed files with 2 additions and 2 deletions
|
@ -724,7 +724,7 @@ void FGAirport::validateILSData()
|
||||||
|
|
||||||
SGPath path;
|
SGPath path;
|
||||||
if (!XMLLoader::findAirportData(ident(), "ils", path)) {
|
if (!XMLLoader::findAirportData(ident(), "ils", path)) {
|
||||||
return; // no XML tower data
|
return; // no XML ILS data
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -133,7 +133,7 @@ static string cleanRunwayNo(const string& aRwyNo)
|
||||||
}
|
}
|
||||||
|
|
||||||
string result(aRwyNo);
|
string result(aRwyNo);
|
||||||
// canonicalise runway ident
|
// canonicalise runway ident to two digits and one optional uppercase letter
|
||||||
if ((aRwyNo.size() == 1) || !isdigit(aRwyNo[1])) {
|
if ((aRwyNo.size() == 1) || !isdigit(aRwyNo[1])) {
|
||||||
result = "0" + aRwyNo;
|
result = "0" + aRwyNo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue