diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-07-12 23:16:54 +0530 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-12 13:58:16 -0700 |
commit | 0011d43711a30a6bb0a2fa534b098936629f564b (patch) | |
tree | cad50014401aea466194262b9fc54a677a3c799a /parse-xml.c | |
parent | c91ecb62af8f90e271e07266058d877e5ed45bdc (diff) | |
download | subsurface-0011d43711a30a6bb0a2fa534b098936629f564b.tar.gz |
Divinglog import: ascent warning added
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c index 2750b3f25..1aaf8eac4 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -2893,6 +2893,14 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu strcpy(cur_event.name, "rbt"); event_end(); } + + /* Ascent warning */ + if (ptr[7] - '0') { + event_start(); + cur_event.time.seconds = sinterval * i; + strcpy(cur_event.name, "ascent"); + event_end(); + } ptr += 12; } |