From: Dirk Hohndel Date: Sat, 18 Aug 2012 03:22:37 +0000 (-0700) Subject: Import Divesuit information from DivingLog XML file X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=fe32e5128742221e067fbb96fa7fcb07dae2bd22;p=ext%2Fsubsurface.git Import Divesuit information from DivingLog XML file Trivial two-liner patch Signed-off-by: Dirk Hohndel --- diff --git a/parse-xml.c b/parse-xml.c index a36758c..173314d 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))