X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=dive.c;h=57a735c8e72d2969cf7469c5969373cc94d4b0fc;hb=39f606350b6025cb7c5cf9e657d7ef092eb026d7;hp=9f57aed58146554969901198ac761fc888904e18;hpb=4912951e97b4040941944e1df70a91366a6a5559;p=ext%2Fsubsurface.git diff --git a/dive.c b/dive.c index 9f57aed..57a735c 100644 --- a/dive.c +++ b/dive.c @@ -472,6 +472,10 @@ struct dive *fixup_dive(struct dive *dive) if (same_rounded_pressure(cyl->sample_end, cyl->end)) cyl->end.mbar = 0; } + for (i = 0; i < MAX_WEIGHTSYSTEMS; i++) { + weightsystem_t *ws = dive->weightsystem + i; + add_weightsystem_description(ws); + } return dive; }