X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=dive.c;h=b57205bc5ff096841cc0d0f3626265a650f9228f;hb=16461e93289f85f7b46f64973a5ed8e9a9040189;hp=0341d09928cd4ef9ad9a974858a17c037db55a4c;hpb=9dce78c89fe77a107af7a8c962da19780485c3e2;p=ext%2Fsubsurface.git diff --git a/dive.c b/dive.c index 0341d09..b57205b 100644 --- a/dive.c +++ b/dive.c @@ -240,6 +240,14 @@ 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); + } + return dive; }