1
0
Fork 0

genapts850: allow lower-case ICAO codes for the --airport option

This commit is contained in:
Christian Schmitt 2013-11-15 23:57:19 +01:00
parent cc751857de
commit ac334ecca4

View file

@ -21,6 +21,7 @@
#include <simgear/debug/logstream.hxx>
#include <simgear/misc/sg_path.hxx>
#include <simgear/misc/sgstream.hxx>
#include <simgear/misc/strutils.hxx>
#include <Include/version.h>
@ -196,7 +197,7 @@ int main(int argc, char **argv)
#endif
else if ( arg.find("--airport=") == 0 )
{
airport_id = arg.substr(10).c_str();
airport_id = simgear::strutils::uppercase( arg.substr(10).c_str() );
}
else if ( arg == "--clear-dem-path" )
{