diff options
Diffstat (limited to 'gtk2_ardour/automation_controller.cc')
-rw-r--r-- | gtk2_ardour/automation_controller.cc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gtk2_ardour/automation_controller.cc b/gtk2_ardour/automation_controller.cc index aa23cb2601..3af5f34445 100644 --- a/gtk2_ardour/automation_controller.cc +++ b/gtk2_ardour/automation_controller.cc @@ -131,18 +131,18 @@ AutomationController::start_touch() void AutomationController::end_touch () { - if (_controllable->automation_state() == Touch) { + if (_controllable->automation_state() == Touch) { - bool mark = false; - double when = 0; + bool mark = false; + double when = 0; - if (_controllable->session().transport_rolling()) { - mark = true; - when = _controllable->session().transport_frame(); - } + if (_controllable->session().transport_rolling()) { + mark = true; + when = _controllable->session().transport_frame(); + } - _controllable->stop_touch (mark, when); - } + _controllable->stop_touch (mark, when); + } } void |