Module Parameter Editor: Don't use local allocation to store label.

This commit is contained in:
Jonathan Moore Liles 2010-02-12 05:06:56 -06:00
parent bb8193cd20
commit 57937f2eb2
1 changed files with 1 additions and 1 deletions

View File

@ -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 );