diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-07 17:25:42 +0900 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-07 18:07:10 +0900 |
commit | 460aa4c1bdee64f25e1c846ac9a6182e4e8e9820 (patch) | |
tree | 0e651be7983f0728dff52c963448dd5ac7982b58 /dive.h | |
parent | f2035bcd797cab0b6be180b160bca3e768ccb652 (diff) | |
download | subsurface-460aa4c1bdee64f25e1c846ac9a6182e4e8e9820.tar.gz |
Include the cylinder information in a dive added with "Add Dive"
We only copied the samples, but not the related cylinder data.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -653,6 +653,7 @@ extern unsigned int dc_airtemp(struct divecomputer *dc); extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded); extern struct dive *try_to_merge(struct dive *a, struct dive *b, bool prefer_downloaded); extern void renumber_dives(int nr); +extern void copy_cylinders(struct dive *s, struct dive *d); extern void copy_samples(struct dive *s, struct dive *d); extern void add_gas_switch_event(struct dive *dive, struct divecomputer *dc, int time, int idx); |