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:
Dirk Hohndel 2012-09-20 15:13:18 -07:00
parent 7e8a476010
commit 7fa0399949

View file

@ -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;