mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix dive trip saving bug
When switching the dive trips to be stored in a different data structure I forgot to update the code in save_trip() - and since we were passing the pointer around via a gpointer the compiler didn't catch this. Oops. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7e8a476010
commit
7fa0399949
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ static void save_events(FILE *f, struct event *ev)
|
|||
}
|
||||
}
|
||||
|
||||
static void save_trip(FILE *f, struct dive *trip)
|
||||
static void save_trip(FILE *f, dive_trip_t *trip)
|
||||
{
|
||||
struct tm tm;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue