{
}
-int Track::copy_settings(Track *track, int do_title)
+
+int Track::copy_settings(Track *track)
{
- if( do_title )
- strcpy(this->title, track->title);
this->expand_view = track->expand_view;
this->draw = track->draw;
this->gang = track->gang;
this->play = track->play;
this->track_w = track->track_w;
this->track_h = track->track_h;
+ strcpy(this->title, track->title);
return 0;
}
//printf("Track::insert_track %d %s %jd\n", __LINE__, title, min_length);
// Decide whether to copy settings based on load_mode
- if( replace_default )
- copy_settings(track, 0);
+ if(replace_default) copy_settings(track);
edits->insert_edits(track->edits,
to_units(position, 0),