diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-06-26 16:02:13 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-06-26 18:50:22 -0700 |
commit | 1fd4e552401713f628e111b350c77da8b504e709 (patch) | |
tree | 84070fa677d8cff53d00c0dc30d5c652362a635e /divesite.c | |
parent | 78293f50786e31f7f3d020660eeee2b183148b61 (diff) | |
download | subsurface-1fd4e552401713f628e111b350c77da8b504e709.tar.gz |
Dive site rewrite: copy the changed dive site to the original
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divesite.c')
-rw-r--r-- | divesite.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/divesite.c b/divesite.c index 6e2d9353d..41d96de5d 100644 --- a/divesite.c +++ b/divesite.c @@ -168,6 +168,7 @@ void copy_dive_site(struct dive_site *orig, struct dive_site *copy) copy->name = copy_string(orig->name); copy->notes = copy_string(orig->notes); copy->description = copy_string(orig->description); + copy->uuid = orig->uuid; } void clear_dive_site(struct dive_site *ds) |