From 9950eb702d34b63a68e086eedc0517a6ef82b03f Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sat, 27 Mar 2021 16:01:15 +0100 Subject: LV2/makeplugin: fix template code for AssignParams --- plugins/LV2/makeplugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/LV2/makeplugin b/plugins/LV2/makeplugin index 98ac700..04d3195 100755 --- a/plugins/LV2/makeplugin +++ b/plugins/LV2/makeplugin @@ -4,7 +4,7 @@ require_relative 'lib/makeplugin/plugin_info' def make_param_assigns(ctrl_ports) ctrl_ports - .map.with_index { |p, n| "#{p[:sym]} = *param[#{n}];" } + .map.with_index { |p, n| "#{p[:sym]} = *params[#{n}];" } .join("\n ") end -- cgit v1.2.3