diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-29 01:18:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-29 01:18:05 +0000 |
commit | 731bef6c176baa2431b42012770267a342668322 (patch) | |
tree | c8bfc1e545ea6c88eb6ee5014013b3447b810c3f /libs/ardour/vst_plugin.cc | |
parent | e794d842d6a0029f63357b81a2122a477a01d2f4 (diff) |
Try to ensure that the plugin loads its initial preset correctly. May fix #3602.
git-svn-id: svn://localhost/ardour2/branches/3.0@8356 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/vst_plugin.cc')
-rw-r--r-- | libs/ardour/vst_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index 92aac83beb..9d3f8d3fe2 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -237,7 +237,7 @@ VSTPlugin::set_state (const XMLNode& node, int version) const XMLProperty* prop; if ((prop = node.property ("current-program")) != 0) { - _fst->current_program = atoi (prop->value().c_str()); + _fst->want_program = atoi (prop->value().c_str()); } XMLNode* child; |