diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-10 11:39:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-10 11:39:35 +0000 |
commit | 4342f2aeb0510ec272144c9523663df3ba0c38af (patch) | |
tree | 1ec4b4cd74ca1de43bca4ba9e4fc8de96f6bf7da | |
parent | 64f64ef8ed4a2c02d9acaee062dc78b0f8a33a87 (diff) |
fix use of old .ardour dir for VST presets
git-svn-id: svn://localhost/ardour2/trunk@1829 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/vst_plugin.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc index afba6b5cfb..9ec6994e3c 100644 --- a/libs/ardour/vst_plugin.cc +++ b/libs/ardour/vst_plugin.cc @@ -158,8 +158,8 @@ VSTPlugin::get_state() string path; struct stat sbuf; - path = getenv ("HOME"); - path += "/.ardour/vst"; + path = get_user_ardour_path (); + path += "vst"; if (stat (path.c_str(), &sbuf)) { if (errno == ENOENT) { |