]> git.mxchange.org Git - flightgear.git/commitdiff
Fix airportinfo() ILS frequency listing to use underscores.
authorjmt <jmt>
Sun, 20 Dec 2009 18:20:07 +0000 (18:20 +0000)
committerTim Moore <timoore@redhat.com>
Tue, 22 Dec 2009 06:44:12 +0000 (07:44 +0100)
src/Scripting/NasalSys.cxx

index fcde853a8e124570c80c9f373c6777aec034c4f3..3b1d995293ff896eef9ef91bcbf74065617fdd54 100644 (file)
@@ -596,7 +596,7 @@ static naRef f_airportinfo(naContext c, naRef me, int argc, naRef* args)
         HASHSET("stopway", 7, naNum(rwy->stopwayM()));
         
         if (rwy->ILS()) {
-          HASHSET("ils-frequency-mhz", 17, naNum(rwy->ILS()->get_freq() / 100.0));
+          HASHSET("ils_frequency_mhz", 17, naNum(rwy->ILS()->get_freq() / 100.0));
         }
         
 #undef HASHSET