mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add gas change event from profile context menu
This allows to add missing gas change events to the currently shown dive computer. Only gases defined in the Equipment section are offered. Fixes: #250 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
28ad26e878
commit
36cb50fb37
3 changed files with 9 additions and 2 deletions
|
@ -76,7 +76,7 @@ static inline bool match_percent(int a, int b)
|
|||
return (a + 5) / 10 == (b + 5) / 10;
|
||||
}
|
||||
|
||||
static int get_gasidx(struct dive *dive, int o2, int he)
|
||||
int get_gasidx(struct dive *dive, int o2, int he)
|
||||
{
|
||||
int gasidx = -1;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue