Mixer/Module_Parameter_Editor: Don't point widow label at stack allocation.
This commit is contained in:
parent
6ac4106a6c
commit
c7ae81f035
|
@ -56,11 +56,10 @@ Module_Parameter_Editor::Module_Parameter_Editor ( Module *module ) : Fl_Double_
|
||||||
else
|
else
|
||||||
strcpy( lab, module->label() );
|
strcpy( lab, module->label() );
|
||||||
|
|
||||||
|
|
||||||
char title[512];
|
char title[512];
|
||||||
snprintf( title, sizeof( title ), "%s - %s - %s", "Mixer", module->chain()->name(), lab );
|
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 );
|
{ Fl_Pack *o = main_pack = new Fl_Pack( 0, y(), w(), h() - 10 );
|
||||||
o->type( FL_VERTICAL );
|
o->type( FL_VERTICAL );
|
||||||
|
|
Loading…
Reference in New Issue