summaryrefslogtreecommitdiff
path: root/libs/ardour/lv2_plugin.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-31 22:48:15 -0400
committerDavid Robillard <d@drobilla.net>2016-07-31 22:48:15 -0400
commitae599f0a7999c0f0bb63668595b63e0474245527 (patch)
tree33faab07eb6718dbbf49aca7d96b157a1dfb370e /libs/ardour/lv2_plugin.cc
parent7c2302651559eda71833c291ddc17f4d590ad95a (diff)
Fix state features array
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r--libs/ardour/lv2_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc
index b0c67bf034..c1f3c06b9a 100644
--- a/libs/ardour/lv2_plugin.cc
+++ b/libs/ardour/lv2_plugin.cc
@@ -1340,7 +1340,7 @@ LV2Plugin::load_preset(PresetRecord r)
LV2_Worker_Schedule schedule = { _state_worker, work_schedule };
const LV2_Feature state_sched_feature = { LV2_WORKER__schedule, &schedule };
if (_state_worker) {
- state_features[1] = &state_sched_feature;
+ state_features[0] = &state_sched_feature;
}
if (state) {