summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-03 23:09:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-03 23:09:12 -0700
commit5bc5cae6dcdb6a48bb5077d01e490bebedc624d9 (patch)
tree69323c0f826995c45558937d062e3f0a2d369527 /dive.h
parent88f39912603f9ce3d7c799b65580ee30e5ccb364 (diff)
downloadsubsurface-5bc5cae6dcdb6a48bb5077d01e490bebedc624d9.tar.gz
Planner: only copy cylinders that were used in the template dive
This was only semi-implemented the first time around. Now we really only copy the ones that are indeed used. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index f67755b72..be6edfc31 100644
--- a/dive.h
+++ b/dive.h
@@ -605,7 +605,7 @@ extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool
extern struct dive *try_to_merge(struct dive *a, struct dive *b, bool prefer_downloaded);
extern void renumber_dives(int start_nr, bool selected_only);
extern void copy_events(struct dive *s, struct dive *d);
-extern void copy_cylinders(struct dive *s, struct dive *d);
+extern void copy_cylinders(struct dive *s, struct dive *d, bool used_only);
extern void copy_samples(struct dive *s, struct dive *d);
extern bool cylinder_is_used(struct dive *d, cylinder_t *cyl);
extern void fill_default_cylinder(cylinder_t *cyl);