diff options
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r-- | uemis-downloader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c index 631bb23f1..6a20a0af1 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -598,13 +598,13 @@ static void parse_tag(struct dive *dive, char *tag, char *val) if (! strcmp(tag, "date")) uemis_ts(val, &dive->when); else if (!strcmp(tag, "duration")) - uemis_duration(val, &dive->duration); + uemis_duration(val, &dive->dc.duration); else if (!strcmp(tag, "depth")) - uemis_depth(val, &dive->maxdepth); + uemis_depth(val, &dive->dc.maxdepth); else if (!strcmp(tag, "file_content")) uemis_parse_divelog_binary(val, dive); else if (!strcmp(tag, "altitude")) - uemis_get_index(val, &dive->surface_pressure.mbar); + uemis_get_index(val, &dive->dc.surface_pressure.mbar); else if (!strcmp(tag, "f32Weight")) uemis_get_weight(val, &dive->weightsystem[0], dive->dc.diveid); else if (!strcmp(tag, "notes")) |