This is actually relevant information when someone surfaces accidentally, thus we should not ignore it.
Signed-off-by: Miika Turkia <[email protected]> --- parse-xml.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/parse-xml.c b/parse-xml.c index 6894ec0..c5ed21a 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2053,8 +2053,9 @@ extern int dm4_events(void *handle, int columns, char **data, char **column) break; case 257: /* 257 Dive active */ - /* This seems to be given after surface - * when descending again. Ignoring it. */ + /* This seems to be given after surface when + * descending again. */ + strcpy(cur_event.name, "surface"); break; case 258: /* 258 Bookmark */ -- 2.1.4 _______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
