From 114296d9586c957070c1d3ee940e4de8101e3e33 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 5 Oct 2014 02:57:14 +0200 Subject: [PATCH] fix VST user cache typo: info/blacklist --- libs/ardour/vst_info_file.cc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc index 9ca163588e..a723f55d8b 100644 --- a/libs/ardour/vst_info_file.cc +++ b/libs/ardour/vst_info_file.cc @@ -96,7 +96,7 @@ vstfx_cache_file (const char* dllpath, int personal, const char *ext) { string dir; if (personal) { - dir = get_personal_vst_blacklist_dir(); + dir = get_personal_vst_info_cache_dir(); } else { dir = Glib::path_get_dirname (std::string(dllpath)); } @@ -109,7 +109,16 @@ vstfx_cache_file (const char* dllpath, int personal, const char *ext) static string vstfx_blacklist_path (const char* dllpath, int personal) { - return vstfx_cache_file(dllpath, personal, EXT_BLACKLIST); + string dir; + if (personal) { + dir = get_personal_vst_blacklist_dir(); + } else { + dir = Glib::path_get_dirname (std::string(dllpath)); + } + + stringstream s; + s << PFX_DOTFILE << Glib::path_get_basename (dllpath) << EXT_BLACKLIST; + return Glib::build_filename (dir, s.str ()); } static string