diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-12 19:02:06 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-12 21:30:57 -0800 |
commit | c109b98f198eb3ea98190d720dfd3fc26c571b69 (patch) | |
tree | 7418957fb82f8c4a51d88c78df8d9f420777cbbc /divelist.c | |
parent | b7e53aaee6703c27061037dfadd657f5fc301559 (diff) | |
download | subsurface-c109b98f198eb3ea98190d720dfd3fc26c571b69.tar.gz |
Change one more spot in divelist.c from locations to dive sites
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
-rw-r--r-- | divelist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/divelist.c b/divelist.c index a6f6332e1..d57188a68 100644 --- a/divelist.c +++ b/divelist.c @@ -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; |