Corrected typo ("Celsius" rather than "Celcius") and added to cast to
avoid a compiler warning.
This commit is contained in:
parent
522193e511
commit
ecccc91064
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue