From fe32e5128742221e067fbb96fa7fcb07dae2bd22 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 17 Aug 2012 20:22:37 -0700 Subject: [PATCH] Import Divesuit information from DivingLog XML file Trivial two-liner patch Signed-off-by: Dirk Hohndel --- parse-xml.c | 2 ++ 1 file changed, 2 insertions(+) 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)) -- 2.43.0