diff options
Diffstat (limited to 'core/dive.c')
-rw-r--r-- | core/dive.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.c b/core/dive.c index 2f0e42abd..907ad40e7 100644 --- a/core/dive.c +++ b/core/dive.c @@ -614,7 +614,7 @@ static void copy_dive_nodc(const struct dive *s, struct dive *d) for (int i = 0; i < MAX_WEIGHTSYSTEMS; i++) d->weightsystem[i].description = copy_string(s->weightsystem[i].description); STRUCTURED_LIST_COPY(struct picture, s->picture_list, d->picture_list, copy_pl); - STRUCTURED_LIST_COPY(struct tag_entry, s->tag_list, d->tag_list, copy_tl); + d->tag_list = taglist_copy(s->tag_list); } void copy_dive(const struct dive *s, struct dive *d) |