From ecccc910645d6e8c131de86da28ec5d3d82ac190 Mon Sep 17 00:00:00 2001 From: david <david> Date: Wed, 13 Feb 2002 23:57:31 +0000 Subject: [PATCH] Corrected typo ("Celsius" rather than "Celcius") and added to cast to avoid a compiler warning. --- src/ATC/atis.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ATC/atis.cxx b/src/ATC/atis.cxx index c8522f1a8..a5cd845ee 100644 --- a/src/ATC/atis.cxx +++ b/src/ATC/atis.cxx @@ -143,7 +143,7 @@ string FGATIS::get_transmission() { sprintf(buf, "%i", int(stationweather.Temperature - 273.15)); transmission += " Temperature "; transmission += buf; - transmission += " degrees Celcius"; + transmission += " degrees Celsius"; // Get the pressure / altimeter // pressure is: stationweather.AirPressure in Pascal @@ -197,7 +197,7 @@ string FGATIS::get_transmission() { transmission += buf2; } - string rwy_no = runways.search(ident, hdg); + string rwy_no = runways.search(ident, int(hdg)); if(rwy_no != (string)"NN") { transmission += " Landing and departing runway "; transmission += rwy_no;