summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-16 10:28:10 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2012-08-16 10:28:10 -0700
commit91e7dcc555ada4fe43198327383e895e528c4cc7 (patch)
treea7f05de14c62373c4f59005b5c1e6cebf28a1ff5 /dive.c
parent77a903a6bb26d60e1736f7d5c118b598916b37f2 (diff)
parente8ec3df371f0496a52ebdc463245d7b9df3be6ff (diff)
downloadsubsurface-91e7dcc555ada4fe43198327383e895e528c4cc7.tar.gz
Merge branch 'suit' of git://git.hohndel.org/subsurface
Pull exposure suit tracking from Dirk Hohndel. * 'suit' of git://git.hohndel.org/subsurface: Add exposure protection tracking
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dive.c b/dive.c
index a420a3ef6..f5d082801 100644
--- a/dive.c
+++ b/dive.c
@@ -486,6 +486,7 @@ struct dive *fixup_dive(struct dive *dive)
add_people(dive->buddy);
add_people(dive->divemaster);
add_location(dive->location);
+ add_suit(dive->suit);
for (i = 0; i < MAX_CYLINDERS; i++) {
cylinder_t *cyl = dive->cylinder + i;
add_cylinder_description(&cyl->type);
@@ -703,6 +704,7 @@ struct dive *try_to_merge(struct dive *a, struct dive *b)
MERGE_TXT(res, a, b, buddy);
MERGE_TXT(res, a, b, divemaster);
MERGE_MAX(res, a, b, rating);
+ MERGE_TXT(res, a, b, suit);
MERGE_MAX(res, a, b, number);
MERGE_MAX(res, a, b, maxdepth.mm);
res->meandepth.mm = 0;