mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Get location from dive site for git commit message
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
b2f0d21d43
commit
ae49a8a4f7
1 changed files with 1 additions and 1 deletions
|
@ -960,7 +960,7 @@ static void create_commit_message(struct membuffer *msg)
|
|||
|
||||
if (dive) {
|
||||
dive_trip_t *trip = dive->divetrip;
|
||||
const char *location = dive->location ? : "no location";
|
||||
const char *location = get_dive_location(dive) ? : "no location";
|
||||
struct divecomputer *dc = &dive->dc;
|
||||
const char *sep = "\n";
|
||||
|
||||
|
|
Loading…
Reference in a new issue