Signed-off-by: Miika Turkia <[email protected]>
---
Do we have a better text for this one than violation?
---
parse-xml.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/parse-xml.c b/parse-xml.c
index 1aaf8ea..c110481 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2901,6 +2901,14 @@ extern int divinglog_profile(void *handle, int columns,
char **data, char **colu
strcpy(cur_event.name, "ascent");
event_end();
}
+
+ /* Deco stop ignored */
+ if (ptr[8] - '0') {
+ event_start();
+ cur_event.time.seconds = sinterval * i;
+ strcpy(cur_event.name, "violation");
+ event_end();
+ }
ptr += 12;
}
--
2.1.4
_______________________________________________
subsurface mailing list
[email protected]
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface