mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix typo that broke gas reporting in dive list
The brainless idiot who implemented commit c539c8f861
("Remove the .used
member of the cylinder structure") clearly worked on the basis of "it
compiles, it must be perfect".
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5bc5cae6dc
commit
cbdf3ee042
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2low_p)
|
|||
int o2 = get_o2(&cyl->gasmix);
|
||||
int he = get_he(&cyl->gasmix);
|
||||
|
||||
if (cylinder_is_used(dive, cyl))
|
||||
if (!cylinder_is_used(dive, cyl))
|
||||
continue;
|
||||
if (cylinder_none(cyl))
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue