set the flag true

This commit is contained in:
Michael R. Fisher 2013-07-14 21:22:34 -05:00
parent e487814e9d
commit be44b3c37b

View file

@ -1980,16 +1980,18 @@ LV2World::load_bundled_plugins()
if (plugin_objects) { if (plugin_objects) {
for ( vector<string *>::iterator x = plugin_objects->begin(); x != plugin_objects->end (); ++x) { for ( vector<string *>::iterator x = plugin_objects->begin(); x != plugin_objects->end (); ++x) {
#ifdef WINDOWS #ifdef WINDOWS
string uri = "file:///" + **x + "/"; string uri = "file:///" + **x + "/";
#else #else
string uri = "file://" + **x + "/"; string uri = "file://" + **x + "/";
#endif #endif
LilvNode *node = lilv_new_uri(world, uri.c_str()); LilvNode *node = lilv_new_uri(world, uri.c_str());
lilv_world_load_bundle(world, node); lilv_world_load_bundle(world, node);
lilv_node_free(node); lilv_node_free(node);
}
} }
}
delete (plugin_objects); delete (plugin_objects);
_bundle_checked = true;
} }
} }