Fix inverted logic in any-bindings test.

This commit is contained in:
James Turner 2016-08-08 16:59:06 +01:00
parent a31d1342d5
commit 899778b354

View File

@ -172,11 +172,11 @@ bool anyBindingEnabled(const SGBindingList& aBindings)
}
BOOST_FOREACH(SGBinding_ptr b, aBindings) {
if (!b->test()) {
return false;
if (b->test()) {
return true;
}
}
return true;
return false;
}