diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-08-16 18:33:09 -0600 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-16 18:34:27 -0600 |
commit | 4a7432e3d512977437afa3933cc242b6410b468a (patch) | |
tree | 9e6a59e1d5443e8cc8594082c51d03281add58ac /dive.h | |
parent | 3766f57392bc8e315afe14b7640982e50cdd5529 (diff) | |
download | subsurface-4a7432e3d512977437afa3933cc242b6410b468a.tar.gz |
Don't always clear the dive before selectively copying
This will be needed when pasting the data back into a (set of) dive(s).
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
@@ -621,7 +621,7 @@ extern struct dive *alloc_dive(void); extern void record_dive(struct dive *dive); extern void clear_dive(struct dive *dive); extern void copy_dive(struct dive *s, struct dive *d); -extern void selective_copy_dive(struct dive *s, struct dive *d, struct dive_components what); +extern void selective_copy_dive(struct dive *s, struct dive *d, struct dive_components what, bool clear); extern struct dive *clone_dive(struct dive *s); extern struct sample *prepare_sample(struct divecomputer *dc); |