mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Recognize O2 percentage from MacDive import
MacDive use "o2percent" in its XML export Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b709dff23d
commit
b03ae632d5
1 changed files with 2 additions and 0 deletions
|
@ -1005,6 +1005,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf)
|
||||||
return;
|
return;
|
||||||
if (MATCH(".o2", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.o2))
|
if (MATCH(".o2", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.o2))
|
||||||
return;
|
return;
|
||||||
|
if (MATCH(".o2percent", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.o2))
|
||||||
|
return;
|
||||||
if (MATCH(".n2", gasmix_nitrogen, &dive->cylinder[cur_cylinder_index].gasmix))
|
if (MATCH(".n2", gasmix_nitrogen, &dive->cylinder[cur_cylinder_index].gasmix))
|
||||||
return;
|
return;
|
||||||
if (MATCH(".he", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.he))
|
if (MATCH(".he", gasmix, &dive->cylinder[cur_cylinder_index].gasmix.he))
|
||||||
|
|
Loading…
Add table
Reference in a new issue