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:
parent
64f64ef8ed
commit
4342f2aeb0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user