fix another logic error in PresentationInfo::flag_match()
This commit is contained in:
parent
2f7c167fc9
commit
5c32fc3bab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user