diff options
Diffstat (limited to 'src/server/ControlBindings.cpp')
-rw-r--r-- | src/server/ControlBindings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp index 5f97452a..454d2be1 100644 --- a/src/server/ControlBindings.cpp +++ b/src/server/ControlBindings.cpp @@ -252,8 +252,9 @@ ControlBindings::port_value_to_control(RunContext& context, Type type, const Atom& value_atom) const { - if (value_atom.type() != port->bufs().forge().Float) + if (value_atom.type() != port->bufs().forge().Float) { return 0; + } float min, max; get_range(context, port, &min, &max); |