summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 14:16:33 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-19 14:20:18 -0800
commit6acff53735c41cc6636525aa364c62808219d3fb (patch)
tree6639d39a470725444475420ed7587061801fa2b4 /divelist.h
parent65e980d483576e952d15b14c369ac9beb7a07605 (diff)
downloadsubsurface-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.h')
-rw-r--r--divelist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 627cb575c..109c61aef 100644
--- a/divelist.h
+++ b/divelist.h
@@ -30,6 +30,7 @@ extern struct dive *merge_two_dives(struct dive *a, struct dive *b);
extern bool consecutive_selected();
extern void select_dive(int idx);
extern void deselect_dive(int idx);
+void find_new_trip_start_time(dive_trip_t *trip);
#ifdef DEBUG_TRIP
extern void dump_selection(void);