1
0
Fork 0

Corrected typo ("Celsius" rather than "Celcius") and added to cast to

avoid a compiler warning.
This commit is contained in:
david 2002-02-13 23:57:31 +00:00
parent 522193e511
commit ecccc91064

View 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;