Fix inverted logic in any-bindings test.
This commit is contained in:
parent
a31d1342d5
commit
899778b354
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user