diff options
-rw-r--r-- | libs/ardour/ardour/presentation_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/presentation_info.h b/libs/ardour/ardour/presentation_info.h index 91238e6537..6ef0fae7bb 100644 --- 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); |