diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 20:35:15 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 20:35:15 -0800 |
commit | 36cb50fb37f8cede4f334b268406ebd55c12ece6 (patch) | |
tree | 475a1535d91cecce7158dce27d3166988fb6abc0 /planner.c | |
parent | 28ad26e8787f966223e448aaf728918dff92149e (diff) | |
download | subsurface-36cb50fb37f8cede4f334b268406ebd55c12ece6.tar.gz |
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>
Diffstat (limited to 'planner.c')
-rw-r--r-- | planner.c | 2 |
1 files changed, 1 insertions, 1 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; |