Mixer: Fix compiler warning.
This commit is contained in:
parent
504b77f6c7
commit
7c71faab1c
|
@ -691,7 +691,7 @@ Module::draw_label ( int tx, int ty, int tw, int th )
|
||||||
char *di = strstr( lab, " -" );
|
char *di = strstr( lab, " -" );
|
||||||
|
|
||||||
if ( ! di )
|
if ( ! di )
|
||||||
strstr( lab, " " );
|
di = strstr( lab, " " );
|
||||||
|
|
||||||
if ( di )
|
if ( di )
|
||||||
*di = '\0';
|
*di = '\0';
|
||||||
|
|
Loading…
Reference in New Issue