diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2012-08-17 20:22:37 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2012-08-17 20:22:37 -0700 |
commit | fe32e5128742221e067fbb96fa7fcb07dae2bd22 (patch) | |
tree | eea62fa9cd9c017a172525d6aaa877b2cae46943 /parse-xml.c | |
parent | 5b56aa1435ddd20e61e5bac515c0a74eb051eca5 (diff) | |
download | subsurface-fe32e5128742221e067fbb96fa7fcb07dae2bd22.tar.gz |
Import Divesuit information from DivingLog XML file
Trivial two-liner patch
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c index a36758ca0..173314dd4 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1102,6 +1102,8 @@ static void try_to_fill_dive(struct dive **divep, const char *name, char *buf) return; if (MATCH(".suit", utf8_string, &dive->suit)) return; + if (MATCH(".divesuit", utf8_string, &dive->suit)) + return; if (MATCH(".notes", utf8_string, &dive->notes)) return; if (MATCH(".divemaster", utf8_string, &dive->divemaster)) |