X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=statistics.c;h=9510030d717655e06b1104474814429e2af3ef07;hb=43530d397bd8d754202d0e97d13c32c1f0685f01;hp=f8f9d0e24549ca10c568eb85fcc2b957ea14a814;hpb=9b1ea2ae6d6998aaaa842dabf1182c279f7d19f5;p=ext%2Fsubsurface.git diff --git a/statistics.c b/statistics.c index f8f9d0e..9510030 100644 --- a/statistics.c +++ b/statistics.c @@ -171,7 +171,7 @@ void show_dive_stats(struct dive *dive) end = cyl->end.mbar ? : cyl->sample_end.mbar; if (!cylinder_none(cyl)) { /* 0% O2 strangely means air, so 21% - I don't like that at all */ - int o2 = cyl->gasmix.o2.permille ? : 209; + int o2 = cyl->gasmix.o2.permille ? : AIR_PERMILLE; if (offset > 0) { snprintf(buf+offset, 80-offset, ", "); offset += 2;