diff --git a/src/Environment/realwx_ctrl.cxx b/src/Environment/realwx_ctrl.cxx index d98bcd5d2..08b3e348d 100644 --- a/src/Environment/realwx_ctrl.cxx +++ b/src/Environment/realwx_ctrl.cxx @@ -367,7 +367,7 @@ void NoaaMetarRealWxController::requestMetar( MetarDataHandler * metarDataHandle virtual void responseComplete() { if (responseCode() == 200) { - _metarDataHandler->handleMetarData( _metar); + _metarDataHandler->handleMetarData( simgear::strutils::simplify(_metar) ); } else { SG_LOG(SG_ENVIRONMENT, SG_WARN, "metar download failed:" << url() << ": reason:" << responseReason()); }