diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 02:04:21 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 02:04:21 -0400 |
commit | 9994cdebb60ecffcf81ced46ccfd12968ea3b2da (patch) | |
tree | eddf1322d05e407fa3b683fca25a6a150427ddba /src/server/ControlBindings.cpp | |
parent | c8152e8724c8e78fc53651f000a4e63aca945722 (diff) | |
download | ingen-9994cdebb60ecffcf81ced46ccfd12968ea3b2da.tar.gz ingen-9994cdebb60ecffcf81ced46ccfd12968ea3b2da.tar.bz2 ingen-9994cdebb60ecffcf81ced46ccfd12968ea3b2da.zip |
Use consistent spacing for line comments
Diffstat (limited to 'src/server/ControlBindings.cpp')
-rw-r--r-- | src/server/ControlBindings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/ControlBindings.cpp b/src/server/ControlBindings.cpp index ecbdf8cf..aefc8608 100644 --- a/src/server/ControlBindings.cpp +++ b/src/server/ControlBindings.cpp @@ -414,7 +414,7 @@ ControlBindings::pre_process(RunContext& ctx, Buffer* buffer) _feedback->clear(); if ((!_learn_binding && _bindings->empty()) || !buffer->get<LV2_Atom>()) { - return; // Don't bother reading input + return; // Don't bother reading input } auto* seq = buffer->get<LV2_Atom_Sequence>(); @@ -424,7 +424,7 @@ ControlBindings::pre_process(RunContext& ctx, Buffer* buffer) const Key key = midi_event_key(ev->body.size, buf, value); if (_learn_binding && !!key) { - finish_learn(ctx, key); // Learn new binding + finish_learn(ctx, key); // Learn new binding } // Set all controls bound to this key |