From 460aa4c1bdee64f25e1c846ac9a6182e4e8e9820 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 7 Nov 2013 17:25:42 +0900 Subject: 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 --- dive.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dive.h') diff --git a/dive.h b/dive.h index 151ba524a..e199f7878 100644 --- a/dive.h +++ b/dive.h @@ -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); -- cgit v1.2.3-70-g09d2