mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Force split dives attributes update.
Moved relevant code in a new helper function Signed-off-by: Giorgio Marzano <marzano.giorgio@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
645bc0b46e
commit
637c3502e9
2 changed files with 40 additions and 14 deletions
1
dive.h
1
dive.h
|
|
@ -721,6 +721,7 @@ extern void fixup_dc_duration(struct divecomputer *dc);
|
|||
extern int dive_getUniqID(struct dive *d);
|
||||
extern unsigned int dc_airtemp(struct divecomputer *dc);
|
||||
extern unsigned int dc_watertemp(struct divecomputer *dc);
|
||||
static void force_fixup_dive(struct dive *d);
|
||||
extern int split_dive(struct dive *);
|
||||
extern struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded);
|
||||
extern struct dive *try_to_merge(struct dive *a, struct dive *b, bool prefer_downloaded);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue