1
0
Fork 0

don't crash if fgfs is called with an invalid argument to the --vor option

This commit is contained in:
mfranz 2005-05-01 14:27:06 +00:00
parent 4c10ef139c
commit b68429c862

View file

@ -167,7 +167,7 @@ FGNavRecord *FGNavList::findByIdentAndFreq( const char* ident, const double freq
return stations[i];
}
}
} else {
} else if (stations.size()) {
return stations[0];
}