mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
fix another logic error in PresentationInfo::flag_match()
This commit is contained in:
parent
2f7c167fc9
commit
5c32fc3bab
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue