diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-16 10:28:10 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-16 10:28:10 -0700 |
commit | 91e7dcc555ada4fe43198327383e895e528c4cc7 (patch) | |
tree | a7f05de14c62373c4f59005b5c1e6cebf28a1ff5 /dive.c | |
parent | 77a903a6bb26d60e1736f7d5c118b598916b37f2 (diff) | |
parent | e8ec3df371f0496a52ebdc463245d7b9df3be6ff (diff) | |
download | subsurface-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |