summaryrefslogtreecommitdiffstats
path: root/uemis-downloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'uemis-downloader.c')
-rw-r--r--uemis-downloader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uemis-downloader.c b/uemis-downloader.c
index 16d7811ae..fdaea876a 100644
--- a/uemis-downloader.c
+++ b/uemis-downloader.c
@@ -727,6 +727,8 @@ static void parse_tag(struct dive *dive, char *tag, char *val)
} else if (!strcmp(tag, "u8SuitThickness")) {
if (*suit_thickness[atoi(val)])
uemis_add_string(translate("gettextFromC", suit_thickness[atoi(val)]), &dive->suit);
+ } else if (!strcmp(tag, "dive_no")) {
+ dive->number = atoi(val);
}
}