diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-10 06:31:37 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-10 15:04:29 -0800 |
commit | d449ac3208a0e923aa5500295d2f4ab842dc84cc (patch) | |
tree | 9913fa043e48a93fee86f05b21f0c16bdea27e6c /dive.h | |
parent | 47dd0a1ec5230c30bdb809b0c61521ac8bd22fca (diff) | |
download | subsurface-d449ac3208a0e923aa5500295d2f4ab842dc84cc.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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |