summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-10 06:31:37 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-10 06:31:37 -0800
commit585d6a004b4533c72ebfd70664571931dcc0ccd0 (patch)
tree4aa7663bcc9f42bb9710b1c56548759a3dabc80e /dive.h
parentd60a6201931ed11e019e7582a6d6f72d6f4e0400 (diff)
downloadsubsurface-585d6a004b4533c72ebfd70664571931dcc0ccd0.tar.gz
Only update tags in the selected dives if they were changed
If current_dive and displayed_dive still have the same tags then we shouldn't touch the tags of other selected dives. Fixes #826 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r--dive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dive.h b/dive.h
index 56f38f948..b350527a7 100644
--- a/dive.h
+++ b/dive.h
@@ -238,6 +238,7 @@ void taglist_init_global();
void taglist_free(struct tag_entry *tag_list);
bool taglist_contains(struct tag_entry *tag_list, const char *tag);
+bool taglist_equal(struct tag_entry *tl1, struct tag_entry *tl2);
int count_dives_with_tag(const char *tag);
int count_dives_with_person(const char *person);
int count_dives_with_location(const char *location);