From 4342f2aeb0510ec272144c9523663df3ba0c38af Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 10 May 2007 11:39:35 +0000 Subject: [PATCH] fix use of old .ardour dir for VST presets git-svn-id: svn://localhost/ardour2/trunk@1829 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/vst_plugin.cc | 4 ++-- 1 file 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) {