From 88dc75695b62481fd656d6f1b41a36251845e420 Mon Sep 17 00:00:00 2001 From: jmt Date: Sat, 19 Dec 2009 18:51:48 +0000 Subject: [PATCH] Probably best if the string and its length agree. :) --- src/Scripting/NasalSys.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Scripting/NasalSys.cxx b/src/Scripting/NasalSys.cxx index c10c4d058..fcde853a8 100644 --- a/src/Scripting/NasalSys.cxx +++ b/src/Scripting/NasalSys.cxx @@ -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