From ba7888ec2d1f00ed6b43eec596d15a8b3401c7bc Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 27 Aug 2015 20:39:00 +0300 Subject: [PATCH] Style fix and note for the unapparent code --- SDL2pp/SDLMixer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SDL2pp/SDLMixer.cc b/SDL2pp/SDLMixer.cc index 7d106d3..fd8551f 100644 --- a/SDL2pp/SDLMixer.cc +++ b/SDL2pp/SDLMixer.cc @@ -32,7 +32,8 @@ SDLMixer::SDLMixer(int flags) { } SDLMixer::~SDLMixer() { - while(Mix_Init(0)) + // see https://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer.html#SEC10 + while (Mix_Init(0)) Mix_Quit(); }