]> git.mxchange.org Git - flightgear.git/commitdiff
Probably best if the string and its length agree. :)
authorjmt <jmt>
Sat, 19 Dec 2009 18:51:48 +0000 (18:51 +0000)
committerTim Moore <timoore@redhat.com>
Sun, 20 Dec 2009 07:44:50 +0000 (08:44 +0100)
src/Scripting/NasalSys.cxx

index c10c4d05860aa159b5a605f5c9abed8fb981da1f..fcde853a8e124570c80c9f373c6777aec034c4f3 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", 3, naNum(rwy->ILS()->get_freq() / 100.0));
+          HASHSET("ils-frequency-mhz", 17, naNum(rwy->ILS()->get_freq() / 100.0));
         }
         
 #undef HASHSET