summaryrefslogtreecommitdiffstats
path: root/parse-xml.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 /parse-xml.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 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index d6fc953a7..a36758ca0 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -1100,6 +1100,8 @@ static void try_to_fill_dive(struct dive **divep, const char *name, char *buf)
return;
if (MATCH(".location", utf8_string, &dive->location))
return;
+ if (MATCH(".suit", utf8_string, &dive->suit))
+ return;
if (MATCH(".notes", utf8_string, &dive->notes))
return;
if (MATCH(".divemaster", utf8_string, &dive->divemaster))