detect VST arch only during discovery (not scan)
[ardour.git] / libs / ardour / plugin_manager.cc
index 42e8e3cbfeea72d2d9b94c491afdb3fa1555f048..d98f5ccc45e6d92f5a01494d30731006bf3b5714 100644 (file)
@@ -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;