diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-01 20:56:29 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-01 20:57:11 -0700 |
commit | 28093ae957548d5fc1e4d373ca0a345cc1be5069 (patch) | |
tree | f8899ae3e24033781bf707ceac959636be063917 /dive.c | |
parent | ee36bf8bf34013c35120b6c3cc4ae5edcf74b235 (diff) | |
download | subsurface-28093ae957548d5fc1e4d373ca0a345cc1be5069.tar.gz |
Remove is_air() and convert its users to gasmix
Also make gasname() and get_gas_string() global functions (which allows us
to delete code elsewhere).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
-rw-r--r-- | dive.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -546,7 +546,7 @@ void sanitize_gasmix(struct gasmix *mix) if (!o2) return; /* 20.8% to 21% O2 is just air */ - if (is_air(o2, he)) { + if (gasmix_is_air(mix)) { mix->o2.permille = 0; return; } |