diff options
author | David Robillard <d@drobilla.net> | 2016-07-31 22:48:15 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-07-31 22:48:15 -0400 |
commit | ae599f0a7999c0f0bb63668595b63e0474245527 (patch) | |
tree | 33faab07eb6718dbbf49aca7d96b157a1dfb370e /libs/ardour/lv2_plugin.cc | |
parent | 7c2302651559eda71833c291ddc17f4d590ad95a (diff) |
Fix state features array
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 2 |
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) { |