mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 06:15:26 +00:00
Change one more spot in divelist.c from locations to dive sites
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b7e53aaee6
commit
c109b98f19
1 changed files with 1 additions and 1 deletions
|
@ -713,7 +713,7 @@ void autogroup_dives(void)
|
|||
if (lastdive && dive->when < lastdive->when + TRIP_THRESHOLD) {
|
||||
dive_trip_t *trip = lastdive->divetrip;
|
||||
add_dive_to_trip(dive, trip);
|
||||
if (dive->location && !trip->location)
|
||||
if (get_dive_location(dive) && !trip->location)
|
||||
trip->location = copy_string(get_dive_location(dive));
|
||||
lastdive = dive;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Reference in a new issue