]> git.mxchange.org Git - simgear.git/commitdiff
fix a typo.
authorehofman <ehofman>
Wed, 9 Dec 2009 13:56:12 +0000 (13:56 +0000)
committerTim Moore <timoore@redhat.com>
Fri, 11 Dec 2009 23:03:41 +0000 (00:03 +0100)
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 );