Browse Source

fix indentation warnings

pull/277/head
Roy Vegard Ovesen 4 years ago
parent
commit
cdd9190dfe
3 changed files with 14 additions and 14 deletions
  1. +1
    -1
      mixer/src/Mixer.C
  2. +12
    -12
      mixer/src/Plugin_Chooser.C
  3. +1
    -1
      session-manager/src/jackpatch.c

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


+ 12
- 12
mixer/src/Plugin_Chooser.C 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;
}

_plugin_rows.push_back( p );
if (strncmp( p->category.c_str(), category, strlen( category )))
continue;
}

_plugin_rows.push_back( p );
}
}



+ 1
- 1
session-manager/src/jackpatch.c 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 );


Loading…
Cancel
Save