diff options
author | Robin Gareus <robin@gareus.org> | 2014-10-05 02:57:14 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-10-05 02:57:14 +0200 |
commit | 114296d9586c957070c1d3ee940e4de8101e3e33 (patch) | |
tree | 76cb091d0c76086c580c4dc8c60845dd9aadb7cf /libs/ardour/vst_info_file.cc | |
parent | d1564669cfd3508502a16d2f545c305d831e2fcd (diff) |
fix VST user cache typo: info/blacklist
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r-- | libs/ardour/vst_info_file.cc | 13 |
1 files 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 |