fix indentation warnings

pull/277/head
Roy Vegard Ovesen 2020-03-07 14:49:40 +01:00
parent bbe8386499
commit cdd9190dfe
3 changed files with 13 additions and 13 deletions

View File

@ -893,7 +893,7 @@ Mixer::rows ( int ideal_rows )
_rows = ideal_rows;
if ( _strip_height != sh );
if ( _strip_height != sh )
{
mixer_strips->redraw();
scroll->redraw();

View File

@ -71,23 +71,23 @@ Plugin_Chooser::search ( const char *name, const char *author, const char *categ
( p->audio_inputs == 1 && p->audio_outputs == 1 ) ) )
continue;
if ( p->audio_outputs == 0 || p->audio_inputs == 0 )
if ( p->audio_outputs == 0 || p->audio_inputs == 0 )
/* we don't support these */
continue;
if ( favorites > 0 && ! p->favorite )
if ( favorites > 0 && ! p->favorite )
continue;
if ( strcmp( category, "Any" ) )
{
if ( !p->category.c_str() && strcmp( category, "Unclassified" ))
continue;
if ( strcmp( category, "Any" ) )
{
if ( !p->category.c_str() && strcmp( category, "Unclassified" ))
continue;
if (strncmp( p->category.c_str(), category, strlen( category )))
continue;
}
if (strncmp( p->category.c_str(), category, strlen( category )))
continue;
}
_plugin_rows.push_back( p );
_plugin_rows.push_back( p );
}
}

View File

@ -693,7 +693,7 @@ dequeue_new_port ( void )
if ( sizeof( int ) == jack_ringbuffer_peek( port_ringbuffer, (char*)&size, sizeof( int ) ) )
{
if ( jack_ringbuffer_read_space( port_ringbuffer ) >= size );
if ( jack_ringbuffer_read_space( port_ringbuffer ) >= size )
{
struct port_notification_record *pr = malloc( size );