13
0

fix use of old .ardour dir for VST presets

git-svn-id: svn://localhost/ardour2/trunk@1829 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-05-10 11:39:35 +00:00
parent 64f64ef8ed
commit 4342f2aeb0

View File

@ -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) {