]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/metar_main.cxx
Make sure 'make dist' keeps working.
[flightgear.git] / src / Main / metar_main.cxx
index 9cf37f9014f552d3006722f525e84bc6f80270b1..0857bac5dc6bacf8cf62f63b35467924be704677 100644 (file)
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
 #include <iomanip>
 #include <sstream>
+#include <iostream>
 #include <string.h>
 
 #include <simgear/debug/logstream.hxx>
@@ -269,7 +270,7 @@ void printReport(SGMetar *m)
                if ((s = rwy.getExtentString()) && strlen(s))
                        surface.push_back(s);
                if ((d = rwy.getDepth()) != NaN) {
-                       sprintf(buf, "%.0lf mm", d * 1000.0);
+                       sprintf(buf, "%.1lf mm", d * 1000.0);
                        surface.push_back(buf);
                }
                if ((s = rwy.getFrictionString()) && strlen(s))