diff options
Diffstat (limited to 'core/parse-xml.c')
-rw-r--r-- | core/parse-xml.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/parse-xml.c b/core/parse-xml.c index 164b17b83..4aad15bb5 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -1258,11 +1258,11 @@ static void try_to_fill_dive(struct dive *dive, const char *name, char *buf, str if (match_dc_data_fields(&dive->dc, name, buf, state)) return; - if (MATCH("filename.picture", utf8_string, &state->cur_picture->filename)) + if (MATCH("filename.picture", utf8_string, &state->cur_picture.filename)) return; - if (MATCH("offset.picture", offsettime, &state->cur_picture->offset)) + if (MATCH("offset.picture", offsettime, &state->cur_picture.offset)) return; - if (MATCH("gps.picture", gps_picture_location, state->cur_picture)) + if (MATCH("gps.picture", gps_picture_location, &state->cur_picture)) return; if (MATCH("hash.picture", utf8_string, &hash)) { /* Legacy -> ignore. */ |