diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-09 18:19:27 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-09 18:19:27 -0400 |
commit | 7c13a165891bd22a958a743489c6138efa103b54 (patch) | |
tree | 90320f45643a1e9ee2e3270a8d467905d5e779c6 /libs/ardour/controllable_descriptor.cc | |
parent | 1f3e49e8ee08f0dba097c621f2539eaf6989aaff (diff) |
possible fix for off-by-one issue with MIDI binding maps etc.
Diffstat (limited to 'libs/ardour/controllable_descriptor.cc')
-rw-r--r-- | libs/ardour/controllable_descriptor.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/controllable_descriptor.cc b/libs/ardour/controllable_descriptor.cc index f617468211..fff8b0050b 100644 --- a/libs/ardour/controllable_descriptor.cc +++ b/libs/ardour/controllable_descriptor.cc @@ -133,6 +133,8 @@ ControllableDescriptor::set (const std::string& str) } else { return -1; } + + _presentation_order -= 1; /* order is zero-based, but maps use 1-based */ } if (path[1] == "gain") { |