Module Parameter Editor: Don't use local allocation to store label.
This commit is contained in:
parent
bb8193cd20
commit
57937f2eb2
|
@ -60,7 +60,7 @@ Module_Parameter_Editor::Module_Parameter_Editor ( Module *module ) : Fl_Double_
|
|||
char title[512];
|
||||
snprintf( title, sizeof( title ), "%s - %s - %s", "Mixer", module->chain()->name(), lab );
|
||||
|
||||
label( title );
|
||||
label( strdup( title ) );
|
||||
|
||||
{ Fl_Pack *o = main_pack = new Fl_Pack( 0, y(), w(), h() - 10 );
|
||||
o->type( FL_VERTICAL );
|
||||
|
|
Loading…
Reference in New Issue