fix a typo.
This commit is contained in:
@@ -437,7 +437,7 @@ unsigned int SGSoundMgr::request_buffer(SGSoundSample *sample)
|
|||||||
if ( !sample->is_valid_buffer() ) {
|
if ( !sample->is_valid_buffer() ) {
|
||||||
// sample was not yet loaded or removed again
|
// sample was not yet loaded or removed again
|
||||||
string sample_name = sample->get_sample_name();
|
string sample_name = sample->get_sample_name();
|
||||||
void *sample_data == NULL;
|
void *sample_data = NULL;
|
||||||
|
|
||||||
// see if the sample name is already cached
|
// see if the sample name is already cached
|
||||||
buffer_map_iterator buffer_it = _buffers.find( sample_name );
|
buffer_map_iterator buffer_it = _buffers.find( sample_name );
|
||||||
|
|||||||
Reference in New Issue
Block a user