mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-10 10:10:02 -04:00
fixed broken logic when updating sample-data
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1225 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -159,7 +159,7 @@ sampleBuffer::~sampleBuffer()
|
||||
|
||||
void sampleBuffer::update( bool _keep_settings )
|
||||
{
|
||||
const bool lock = ( m_data == NULL );
|
||||
const bool lock = ( m_data != NULL );
|
||||
if( lock )
|
||||
{
|
||||
engine::getMixer()->lock();
|
||||
|
||||
Reference in New Issue
Block a user