]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/soundmgr_openal.cxx
fix a typo.
[simgear.git] / simgear / sound / soundmgr_openal.cxx
index 85f8b2ca9151cf2604fd2f0ba7973a774cc9f66e..ea5e44db0f4c69100b24ceb8a4a8ca9bb47f3f0a 100644 (file)
@@ -437,7 +437,7 @@ unsigned int SGSoundMgr::request_buffer(SGSoundSample *sample)
     if ( !sample->is_valid_buffer() ) {
         // sample was not yet loaded or removed again
         string sample_name = sample->get_sample_name();
-        void *sample_data == NULL;
+        void *sample_data = NULL;
 
         // see if the sample name is already cached
         buffer_map_iterator buffer_it = _buffers.find( sample_name );