Browse Source

Mixer: Further tweak plugin name abbreviation.

tags/non-daw-v1.2.0
Jonathan Moore Liles 10 years ago
parent
commit
442003e61f
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      mixer/src/Module.C

+ 5
- 3
mixer/src/Module.C View File

@@ -666,11 +666,13 @@ Module::draw_label ( int tx, int ty, int tw, int th )

fl_font( FL_HELVETICA, labelsize() );

char *di = index( lab, '-' );
char *di = strstr( lab, " -" );
if ( ! di )
strstr( lab, " " );

if ( di )
{
*di = '\0';
}

int LW = fl_width( lab );
char *s = NULL;


Loading…
Cancel
Save