diff options
Diffstat (limited to 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index b4fc9e716..36a91f4f6 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1202,7 +1202,7 @@ static void dive_start(void) cur_dive = alloc_dive(); memset(&cur_tm, 0, sizeof(cur_tm)); if (cur_trip) { - cur_dive->divetrip = cur_trip; + add_dive_to_trip(cur_dive, cur_trip); cur_dive->tripflag = IN_TRIP; } } |