mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Merge branch 'filter8' of https://github.com/bstoeger/subsurface
This commit is contained in:
commit
eaf1bdbe5f
3 changed files with 53 additions and 59 deletions
|
@ -4204,7 +4204,7 @@ const char *get_dive_country(const struct dive *dive)
|
|||
|
||||
const char *get_dive_location(const struct dive *dive)
|
||||
{
|
||||
struct dive_site *ds = get_dive_site_by_uuid(dive->dive_site_uuid);
|
||||
const struct dive_site *ds = get_dive_site_by_uuid(dive->dive_site_uuid);
|
||||
if (ds && ds->name)
|
||||
return ds->name;
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue