From 8cfc9679af27d290519a7b2c1216aa668a965b53 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 26 Nov 2009 01:13:15 +0000 Subject: [PATCH] Fix typo to fix #2936. git-svn-id: svn://localhost/ardour2/branches/3.0@6182 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index febaf6ed11..792029c9cd 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -3785,7 +3785,7 @@ Session::remove_processor (Processor* processor) } else if ((send = dynamic_cast (processor)) != 0) { send_bitset[send->bit_slot()] = false; } else if ((retrn = dynamic_cast (processor)) != 0) { - return_bitset[send->bit_slot()] = false; + return_bitset[retrn->bit_slot()] = false; } set_dirty();