13
0

fix another logic error in PresentationInfo::flag_match()

This commit is contained in:
Paul Davis 2016-07-04 12:44:20 -04:00
parent 2f7c167fc9
commit 5c32fc3bab

View File

@ -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);