Fixed bitinvader loading

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@940 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-04-25 15:34:31 +00:00
parent 79eeead855
commit 557ded6be9
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-04-25 Paul Giblock <drfaygo/at/gmail/dot/com>
* plugins/bit_invader/bit_invader.cpp:
Fixed samplelength loading
2008-04-24 Paul Giblock <drfaygo/at/gmail/dot/com>
* src/core/song.cpp:

View File

@@ -212,7 +212,7 @@ void bitInvader::loadSettings( const QDomElement & _this )
char * dst = 0;
base64::decode( _this.attribute( "sampleShape"), &dst, &size );
m_graph.setLength( size );
m_graph.setLength( sampleLength );
m_graph.setSamples( (float*) dst );
delete[] dst;