projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7c167
)
fix another logic error in PresentationInfo::flag_match()
author
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 16:44:20 +0000
(12:44 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Mon, 4 Jul 2016 16:45:53 +0000
(12:45 -0400)
libs/ardour/ardour/presentation_info.h
patch
|
blob
|
history
diff --git
a/libs/ardour/ardour/presentation_info.h
b/libs/ardour/ardour/presentation_info.h
index 91238e6537d0fb840453ff6b7f2c9ade33a68886..6ef0fae7bb6e7dc24e3e2ad177404784cac68fd7 100644
(file)
--- a/
libs/ardour/ardour/presentation_info.h
+++ b/
libs/ardour/ardour/presentation_info.h
@@
-208,7
+208,7
@@
class LIBARDOUR_API PresentationInfo : public PBD::Stateful
/* compare without status mask - we already checked that above
*/
- return (
f &~ (StatusMask|OrderSet)) == (_flags &~ (StatusMask|OrderSet));
+ return (
_flags & (f &~ (StatusMask|OrderSet))) != 0; /* some flag matches */
}
int set_state (XMLNode const&, int);