diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-05-19 19:22:36 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-21 08:47:19 -0700 |
commit | f7e86b58386f36bdfe8f95ccfc651f67a4fbe89d (patch) | |
tree | cabb6f163822c7b16a4a0de3f33bedf51a89b07c | |
parent | 187f7dab9fb6fba4ee798beda707e82b1aeb32f0 (diff) | |
download | subsurface-f7e86b58386f36bdfe8f95ccfc651f67a4fbe89d.tar.gz |
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 <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | parse-xml.c | 5 |
1 files 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 */ |