From 217c111155561b60de0dfa7228a1a0e278e3ecc6 Mon Sep 17 00:00:00 2001 From: Ralf Gerlich Date: Wed, 12 Dec 2007 12:33:33 -0800 Subject: [PATCH] Workaround for a buggy apt.dat-file: 00-records start showing up which seem to represent Center-frequencies. --- src/Airports/GenAirports/main.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Airports/GenAirports/main.cxx b/src/Airports/GenAirports/main.cxx index 38b86f72..ac1d3bc3 100644 --- a/src/Airports/GenAirports/main.cxx +++ b/src/Airports/GenAirports/main.cxx @@ -380,6 +380,8 @@ int main( int argc, char **argv ) { // ignore frequency entries } else if ( token[0] == "99" ) { SG_LOG( SG_GENERAL, SG_ALERT, "End of file reached" ); + } else if ( token[0] == "00" ) { + // ?? } else { SG_LOG( SG_GENERAL, SG_ALERT, "Unknown line in file: " << line );