diff options
author | David Robillard <d@drobilla.net> | 2006-09-26 03:00:57 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-09-26 03:00:57 +0000 |
commit | 2bcdbf30288834702d915d352603dce42ac857a0 (patch) | |
tree | d3dbc215bce406c4bfebac0b1aca7214f98d8bb8 /libs | |
parent | 1f3e5a89602124b5e977eef4647160f503c4ae4d (diff) |
Fix for building with SURFACES=1 (new config system broke tranzport).
git-svn-id: svn://localhost/ardour2/trunk@930 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/tranzport/tranzport_control_protocol.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/surfaces/tranzport/tranzport_control_protocol.cc b/libs/surfaces/tranzport/tranzport_control_protocol.cc index 426c837b2f..d66f3c26bf 100644 --- a/libs/surfaces/tranzport/tranzport_control_protocol.cc +++ b/libs/surfaces/tranzport/tranzport_control_protocol.cc @@ -718,13 +718,13 @@ TranzportControlProtocol::update_state () /* global */ - if (session->get_auto_loop()) { + if (Config->get_auto_loop()) { pending_lights[LightLoop] = true; } else { pending_lights[LightLoop] = false; } - if (session->get_punch_in() || session->get_punch_out()) { + if (Config->get_punch_in() || Config->get_punch_out()) { pending_lights[LightPunch] = true; } else { pending_lights[LightPunch] = false; |