aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-03-27 16:01:15 +0100
committerHarald Eilertsen <haraldei@anduin.net>2021-03-27 16:06:07 +0100
commit9950eb702d34b63a68e086eedc0517a6ef82b03f (patch)
tree79e8a0a7379b9226fb9b42c33f51124e8c2c8f2d
parent495a656a97c16775e24a906598388b461e747307 (diff)
downloadairwindows-lv2-port-9950eb702d34b63a68e086eedc0517a6ef82b03f.tar.gz
airwindows-lv2-port-9950eb702d34b63a68e086eedc0517a6ef82b03f.tar.bz2
airwindows-lv2-port-9950eb702d34b63a68e086eedc0517a6ef82b03f.zip
LV2/makeplugin: fix template code for AssignParams
-rwxr-xr-xplugins/LV2/makeplugin2
1 files changed, 1 insertions, 1 deletions
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