From f7e86b58386f36bdfe8f95ccfc651f67a4fbe89d Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Tue, 19 May 2015 19:22:36 +0300 Subject: [PATCH] Import surface event from Suunto DB This is actually relevant information when someone surfaces accidentally, thus we should not ignore it. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- parse-xml.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/parse-xml.c b/parse-xml.c index 6894ec02b..c5ed21a54 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 */