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>
This commit is contained in:
Tomaz Canabrava 2015-06-26 16:02:13 -03:00 committed by Dirk Hohndel
parent 78293f5078
commit 1fd4e55240
2 changed files with 5 additions and 0 deletions

View file

@ -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)