Fix for building with SURFACES=1 (new config system broke tranzport).
authorDavid Robillard <d@drobilla.net>
Tue, 26 Sep 2006 03:00:57 +0000 (03:00 +0000)
committerDavid Robillard <d@drobilla.net>
Tue, 26 Sep 2006 03:00:57 +0000 (03:00 +0000)
git-svn-id: svn://localhost/ardour2/trunk@930 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/surfaces/tranzport/tranzport_control_protocol.cc

index 426c837b2ffc6e969f2ad490c7c6ef3b882af17f..d66f3c26bf4ceaf3b37c930e1f501a85dd3bf716 100644 (file)
@@ -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;