summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/server/ControlBindings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp
index ab018fbc..023f38c1 100644
--- a/src/server/ControlBindings.cpp
+++ b/src/server/ControlBindings.cpp
@@ -97,7 +97,7 @@ ControlBindings::binding_key(const Raul::Atom& binding) const
key = Key(MIDI_NOTE, ((LV2_Atom_Int*)num)->body);
}
}
- } else {
+ } else if (binding.type()) {
Raul::error << "Unknown binding type " << binding.type() << std::endl;
}
return key;