diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 14:16:33 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-19 14:20:18 -0800 |
commit | 6acff53735c41cc6636525aa364c62808219d3fb (patch) | |
tree | 6639d39a470725444475420ed7587061801fa2b4 /divelist.c | |
parent | 65e980d483576e952d15b14c369ac9beb7a07605 (diff) | |
download | subsurface-6acff53735c41cc6636525aa364c62808219d3fb.tar.gz |
Fix trip summary line in dive list
Two errors fixed.
- With no location set, the summary line would start with a ','.
- When auto creating a trip for a manually added dive or when editing the
dates of dives in a trip, the timestamp for the trip was not updated
after editing the dive.
Fixes #293
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 9a1ab017f..36f43e4fc 100644 --- a/divelist.c +++ b/divelist.c @@ -600,7 +600,7 @@ static void delete_trip(dive_trip_t *trip) free(trip); } -static void find_new_trip_start_time(dive_trip_t *trip) +void find_new_trip_start_time(dive_trip_t *trip) { struct dive *dive = trip->dives; timestamp_t when = dive->when; |