Changeset 645

Show
Ignore:
Timestamp:
11/13/08 22:20:14 (2 months ago)
Author:
wolke
Message:

fix midi keyboard segfault if no pattern is selected

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/new_fx_rack_and_sample_fun/libs/hydrogen/src/hydrogen.cpp

    r641 r645  
    18551855                        currentPattern = pColumn->get( 0 );      
    18561856                } 
     1857        } 
     1858 
     1859        if( currentPattern == NULL ){ 
     1860                AudioEngine::get_instance()->unlock(); // unlock the audio engine 
     1861                return; 
    18571862        } 
    18581863