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