diff plugin/DSSIPluginFactory.cpp @ 980:6e6da0636e5e tonioni

Merge from default branch
author Chris Cannam
date Tue, 09 Sep 2014 16:36:21 +0100
parents 7aa9088e9bcd
children cc27f35aa75c
line wrap: on
line diff
--- a/plugin/DSSIPluginFactory.cpp	Tue Sep 02 16:23:48 2014 +0100
+++ b/plugin/DSSIPluginFactory.cpp	Tue Sep 09 16:36:21 2014 +0100
@@ -346,8 +346,8 @@
             category = m_taxonomy[identifier];
         }
 
-	if (category == "" && ladspaDescriptor->Name != 0) {
-	    std::string name = ladspaDescriptor->Name;
+	if (category == "") {
+	    std::string name = rtd->name;
 	    if (name.length() > 4 &&
 		name.substr(name.length() - 4) == " VST") {
 		if (descriptor->run_synth || descriptor->run_multiple_synths) {