Mixer/Module_Parameter_Editor: Don't point widow label at stack allocation.

pull/3/head
Jonathan Moore Liles 2010-02-24 18:40:34 -06:00
parent 6ac4106a6c
commit c7ae81f035
1 changed files with 1 additions and 2 deletions

View File

@ -56,11 +56,10 @@ Module_Parameter_Editor::Module_Parameter_Editor ( Module *module ) : Fl_Double_
else
strcpy( lab, module->label() );
char title[512];
snprintf( title, sizeof( title ), "%s - %s - %s", "Mixer", module->chain()->name(), lab );
label( title );
copy_label( title );
{ Fl_Pack *o = main_pack = new Fl_Pack( 0, y(), w(), h() - 10 );
o->type( FL_VERTICAL );