summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse-xml.c8
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;
}