]> git.mxchange.org Git - flightgear.git/commitdiff
Corrected typo ("Celsius" rather than "Celcius") and added to cast to
authordavid <david>
Wed, 13 Feb 2002 23:57:31 +0000 (23:57 +0000)
committerdavid <david>
Wed, 13 Feb 2002 23:57:31 +0000 (23:57 +0000)
avoid a compiler warning.

src/ATC/atis.cxx

index c8522f1a8bf73cac01df04b4d71e916e70d64da3..a5cd845ee04f81e11ac3822af76c531204b2f3c7 100644 (file)
@@ -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;