diff --git a/simgear/structure/SGBinding.cxx b/simgear/structure/SGBinding.cxx index 86420be1..4a0d0326 100644 --- a/simgear/structure/SGBinding.cxx +++ b/simgear/structure/SGBinding.cxx @@ -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; }