diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-10 11:39:58 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-10 11:39:58 +0000 |
commit | 89e7fa689ec277a6b00012421106a0a0b5d5ec0d (patch) | |
tree | ab7af79ac443ee5a9863efc707f7cb99b84e601b /libs/ardour/vst_plugin.cc | |
parent | 302cb40575af57a631c319989ef98dbd2784a0b7 (diff) |
fix use of old .ardour dir for VST presets
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@1830 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/vst_plugin.cc')
-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) { |