diff --git a/src/Airports/GenAirports/main.cxx b/src/Airports/GenAirports/main.cxx index 611ee1fa..b5c9bf23 100644 --- a/src/Airports/GenAirports/main.cxx +++ b/src/Airports/GenAirports/main.cxx @@ -111,7 +111,7 @@ int main( int argc, char **argv ) { min_lon = rectangle.getMin().x(); min_lat = rectangle.getMin().y(); max_lon = rectangle.getMax().x(); - max_lon = rectangle.getMax().y(); + max_lat = rectangle.getMax().y(); } else { usage( argc, argv ); exit(-1);