Fix for Bug #7 - Alex
authorterminatorX <>
Sun, 23 May 2004 18:13:19 +0000 (18:13 +0000)
committerterminatorX <>
Sun, 23 May 2004 18:13:19 +0000 (18:13 +0000)
terminatorX/src/tX_ladspa_class.cc

index 2f05ea852bfb2f17d5d2a79eead103e72743f053..96212c7a31619a4ddbe5a41f312f7f83c907cb3d 100644 (file)
@@ -99,16 +99,15 @@ void LADSPA_Class::init() {
                if (lrdf_read_files((const char **) uris)) {
                        tX_error("liblrdf had problems reading the rdf files - cannot provide structured menu");
                        liblrdf_error=true;
-        }
-#endif
-               root=new LADSPA_Class("http://ladspa.org/ontology#Plugin");
-#ifdef USE_LRDF                
+               }
+
                lrdf_cleanup();
        } else {
                tX_error("No RDF files found");
        }
 #endif
        
+       root=new LADSPA_Class("http://ladspa.org/ontology#Plugin");
        unclassified=new LADSPA_Class();
        /* This is the last class to accpet all plugins not accepted by other classes. */
        root->subclasses.push_back(unclassified);