Browse Source

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

tags/non-daw-v1.1.0
Jonathan Moore Liles 15 years ago
parent
commit
c7ae81f035
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      mixer/src/Module_Parameter_Editor.C

+ 1
- 2
mixer/src/Module_Parameter_Editor.C 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 );


Loading…
Cancel
Save