From: Robin Gareus Date: Thu, 8 Oct 2015 11:40:23 +0000 (+0200) Subject: detect VST arch only during discovery (not scan) X-Git-Tag: 4.3~57 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=b5ea1b23b47d6ddf57abb35111cfd52db3451d8a;p=ardour.git detect VST arch only during discovery (not scan) --- diff --git a/libs/ardour/plugin_manager.cc b/libs/ardour/plugin_manager.cc index 42e8e3cbfe..d98f5ccc45 100644 --- a/libs/ardour/plugin_manager.cc +++ b/libs/ardour/plugin_manager.cc @@ -857,7 +857,11 @@ PluginManager::windows_vst_discover (string path, bool cache_only) DEBUG_TRACE (DEBUG::PluginManager, string_compose ("windows_vst_discover '%1'\n", path)); if (Config->get_verbose_plugin_scan()) { - info << string_compose (_(" * %1 %2 %3"), path, (cache_only ? _(" (cache only)") : "", dll_info (path))) << endmsg; + if (cache_only) { + info << string_compose (_(" * %1 (cache only)"), path) << endmsg; + } else { + info << string_compose (_(" * %1 %2"), path, dll_info (path)) << endmsg; + } } _cancel_timeout = false;