restart_status = 0;
screens = 1;
in_destructor = 0;
+ speed_edl = 0;
}
commit_commercial();
if( commercials && !commercials->remove_user() ) commercials = 0;
close_mixers();
-
+ if( speed_edl ) { speed_edl->remove_user(); speed_edl = 0; }
// Save defaults for open plugins
plugin_gui_lock->lock("MWindow::~MWindow");
for(int i = 0; i < plugin_guis->size(); i++) {
void MWindow::init_plugin_tips(ArrayList<PluginServer*> &plugins, const char *lang)
{
const char *cfg_path = File::get_cindat_path();
- char msg_path[BCTEXTLEN]; int txt = 0;
+ char msg_path[BCTEXTLEN];
FILE *fp = 0;
if( BC_Resources::language[0] ) {
snprintf(msg_path, sizeof(msg_path), "%s/info/plugins.%s",
fp = fopen(msg_path, "r");
}
if( !fp ) {
- txt = 1;
snprintf(msg_path, sizeof(msg_path), "%s/info/plugins.txt",
cfg_path);
fp = fopen(msg_path, "r");
if( done ) {
if( tp > text && *--tp == '\n' ) *tp = 0;
if( title[0] ) {
- tp = !txt ? title : _(title);
int idx = plugins.size();
- while( --idx>=0 && strcmp(plugins[idx]->title, tp) );
+ while( --idx>=0 && strcmp(plugins[idx]->title, title) );
if( idx >= 0 ) {
delete [] plugins[idx]->tip;
plugins[idx]->tip = cstrdup(text);
nested_edl->create_objects();
nested_edl->load_xml(&xml_file, LOAD_ALL);
//printf("MWindow::load_filenames %p %s\n", nested_edl, nested_edl->project_path);
- new_edl->create_nested(nested_edl, filenames->get(i));
+ new_edl->create_nested(nested_edl);
+ new_edl->set_path(filenames->get(i));
nested_edl->Garbage::remove_user();
}
else {