Divinglog import: ascent warning added

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2015-07-12 23:16:54 +05:30 committed by Dirk Hohndel
parent c91ecb62af
commit 0011d43711

View file

@ -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;
}