mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Bugfix typo in get_gas_used
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b79a8ec386
commit
34a747dead
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ volume_t get_gas_used(struct dive *dive)
|
|||
pressure_t start, end;
|
||||
|
||||
start = cyl->start.mbar ? cyl->start : cyl->sample_start;
|
||||
end = cyl->end.mbar ?cyl->sample_end : cyl->sample_end;
|
||||
end = cyl->end.mbar ? cyl->end : cyl->sample_end;
|
||||
if (start.mbar && end.mbar)
|
||||
gas_used.mliter += gas_volume(cyl, start) - gas_volume(cyl, end);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue