diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-06-03 23:09:12 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-03 23:09:12 -0700 |
commit | 5bc5cae6dcdb6a48bb5077d01e490bebedc624d9 (patch) | |
tree | 69323c0f826995c45558937d062e3f0a2d369527 /dive.h | |
parent | 88f39912603f9ce3d7c799b65580ee30e5ccb364 (diff) | |
download | subsurface-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |