diff options
Diffstat (limited to 'core/divesite.c')
-rw-r--r-- | core/divesite.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/divesite.c b/core/divesite.c index db5d87cdf..68ac6e98a 100644 --- a/core/divesite.c +++ b/core/divesite.c @@ -191,13 +191,10 @@ int nr_of_dives_at_dive_site(struct dive_site *ds) return ds->dives.nr; } -bool is_dive_site_used(struct dive_site *ds, bool select_only) +bool is_dive_site_selected(struct dive_site *ds) { int i; - if (!select_only) - return ds->dives.nr > 0; - for (i = 0; i < ds->dives.nr; i++) { if (ds->dives.dives[i]->selected) return true; |