summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2015-07-12 23:16:52 +0530
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-12 13:58:16 -0700
commit495aab8f206e868a6dba6e8a661ec193217fbc62 (patch)
tree181c1f71f6ad8ab4968ff7f06a6997976176f100 /parse-xml.c
parent90f7a6930aec0ad3b082ae1c7a12b834bf41eac9 (diff)
downloadsubsurface-495aab8f206e868a6dba6e8a661ec193217fbc62.tar.gz
Divinglog import: in deco?
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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 4e2ead76b..d651fa2b4 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2877,6 +2877,7 @@ extern int divinglog_profile(void *handle, int columns, char **data, char **colu
sample_start();
cur_sample->time.seconds = sinterval * i;
+ cur_sample->in_deco = ptr[5] - '0' ? true : false;
ptr[5] = 0;
cur_sample->depth.mm = atoi(ptr) * 10;