]> git.tdb.fi Git - ext/subsurface.git/blobdiff - dive.c
Add completions to the dive location, buddy and divemaster entries
[ext/subsurface.git] / dive.c
diff --git a/dive.c b/dive.c
index 9edf36c9183998d9eef986598ec6bb5fa845cfd8..b57205bc5ff096841cc0d0f3626265a650f9228f 100644 (file)
--- a/dive.c
+++ b/dive.c
@@ -240,6 +240,9 @@ struct dive *fixup_dive(struct dive *dive)
        update_temperature(&dive->watertemp, mintemp);
        update_depth(&dive->maxdepth, maxdepth);
 
+       add_people(dive->buddy);
+       add_people(dive->divemaster);
+       add_location(dive->location);
        for (i = 0; i < MAX_CYLINDERS; i++) {
                cylinder_type_t *type = &dive->cylinder[i].type;
                add_cylinder_description(type);