1
0
Fork 0

Fix a type mismatch error introduced with the latest changes to

src/Airports/simple.[ch]xx
This commit is contained in:
curt 2004-02-23 11:42:49 +00:00
parent 69d67d7478
commit 7f3a870b03

View file

@ -16,7 +16,7 @@ AirportList::AirportList (int x, int y, int width, int height)
_content = new char *[_nAirports+1]; _content = new char *[_nAirports+1];
for (int i = 0; i < _nAirports; i++) { for (int i = 0; i < _nAirports; i++) {
const FGAirport * airport = _airports->getAirport(i); const FGAirport *airport = _airports->getAirport(i);
snprintf(buf, 1023, "%s %s\0", snprintf(buf, 1023, "%s %s\0",
airport->id.c_str(), airport->id.c_str(),
airport->name.c_str()); airport->name.c_str());