1
0
Fork 0

display deposit depths < 1mm correctly (although this is rather a

theoretical problem :-)
This commit is contained in:
mfranz 2006-02-19 13:59:39 +00:00
parent dc1cf77804
commit f928df6caf

View file

@ -269,7 +269,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))