Browse Source

remove 'free' in comment

Sylvain 3 years ago
parent
commit
c0029f01d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Xcode-iOS/Demos/src/mixer.c

+ 1 - 1
Xcode-iOS/Demos/src/mixer.c

@@ -111,7 +111,7 @@ loadSound(const char *file, struct sound *s)
         if (SDL_ConvertAudio(&cvt) == -1) {     /* convert the sound */
             fatalError("could not convert .wav");
         }
-        SDL_free(s->buffer);    /* free the original (unconverted) buffer */
+        SDL_free(s->buffer);    /* Free the original (unconverted) buffer */
         s->buffer = cvt.buf;    /* point sound buffer to converted buffer */
         s->length = cvt.len_cvt;        /* set sound buffer's new length */
     }