//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// $Id$
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "kln89_page_apt.hxx"
#include <ATC/commlist.hxx>
+#include <Main/globals.hxx>
// This function is copied from Airports/runways.cxx
// TODO - Make the original properly available and remove this instance!!!!
KLN89Page::Update(dt);
}
-void KLN89AptPage::SetId(string s) {
+void KLN89AptPage::SetId(const string& s) {
_last_apt_id = _apt_id;
_save_apt_id = _apt_id;
_apt_id = s;