We parsed it rigth for dive computers, but not for the manually filled per-dive case. The git save seems to have gotten it right.
I think this has been broken since the whole "move as much as possible to the dive computer sections", but I didn't actually check. Reported-by: roberto forini <[email protected]> Signed-off-by: Linus Torvalds <[email protected]> --- parse-xml.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse-xml.c b/parse-xml.c index f6806d28a279..cef5221dbaf1 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1154,6 +1154,8 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf) return; if (MATCH("air.divetemperature", temperature, &dive->airtemp)) return; + if (MATCH("water.divetemperature", temperature, &dive->watertemp)) + return; nonmatch("dive", name, buf); } _______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
