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:
Tobias Doerffel
2008-06-30 16:50:50 +00:00
parent 96c4889b24
commit 7bf55d3c62

View File

@@ -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();