diff --git a/share/scripts/send_to_bus.lua b/share/scripts/send_to_bus.lua index c03c9f9ead..6bb8f2ad53 100644 --- a/share/scripts/send_to_bus.lua +++ b/share/scripts/send_to_bus.lua @@ -12,7 +12,7 @@ function factory () return function () chn = mst:n_inputs ():n_audio () end mst = nil -- explicitly drop reference - if chn = 0 then chn = 2; end + if chn == 0 then chn = 2; end local sel = Editor:get_selection () -- get selection local tracks = ARDOUR.RouteListPtr () -- create a new list