diff options
author | Robin Gareus <robin@gareus.org> | 2015-07-23 16:15:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-07-23 16:15:26 +0200 |
commit | 97de33d199a263c7f9913a33ab5f416b7b518d2e (patch) | |
tree | 20a18c99c24893473e0f1a25ef5a066cd19dea50 /libs | |
parent | 2524115992801e67ac91d510eaae482ed9e97b88 (diff) |
amend a73a039a3a, separate VST cache for 32/64bit
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/plugin_manager.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 04652a36c7..b72f4269eb 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -296,7 +296,7 @@ PluginManager::clear_vst_cache () #ifdef WINDOWS_VST_SUPPORT { vector<string> fsi_files; - find_files_matching_regex (fsi_files, Config->get_plugin_path_vst(), "\\.fsi$", true); + find_files_matching_regex (fsi_files, Config->get_plugin_path_vst(), "\\" VST_EXT_INFOFILE "$", true); for (vector<string>::iterator i = fsi_files.begin(); i != fsi_files.end (); ++i) { ::g_unlink(i->c_str()); } @@ -306,7 +306,7 @@ PluginManager::clear_vst_cache () #ifdef LXVST_SUPPORT { vector<string> fsi_files; - find_files_matching_regex (fsi_files, Config->get_plugin_path_lxvst(), "\\.fsi$", true); + find_files_matching_regex (fsi_files, Config->get_plugin_path_lxvst(), "\\" VST_EXT_INFOFILE "$", true); for (vector<string>::iterator i = fsi_files.begin(); i != fsi_files.end (); ++i) { ::g_unlink(i->c_str()); } @@ -317,7 +317,7 @@ PluginManager::clear_vst_cache () { string personal = get_personal_vst_info_cache_dir(); vector<string> fsi_files; - find_files_matching_regex (fsi_files, personal, "\\.fsi$", /* user cache is flat, no recursion */ false); + find_files_matching_regex (fsi_files, personal, "\\" VST_EXT_INFOFILE "$", /* user cache is flat, no recursion */ false); for (vector<string>::iterator i = fsi_files.begin(); i != fsi_files.end (); ++i) { ::g_unlink(i->c_str()); } |