mail[Wesnoth-commits] r13439 - /trunk/src/sound.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by joerg . hinrichs on September 07, 2006 - 00:01:
Author: jhinrichs
Date: Thu Sep  7 00:00:34 2006
New Revision: 13439

URL: http://svn.gna.org/viewcvs/wesnoth?rev=13439&view=rev
Log:
fixes compiler error for msvc++

Modified:
    trunk/src/sound.cpp

Modified: trunk/src/sound.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/sound.cpp?rev=13439&r1=13438&r2=13439&view=diff
==============================================================================
--- trunk/src/sound.cpp (original)
+++ trunk/src/sound.cpp Thu Sep  7 00:00:34 2006
@@ -267,8 +267,10 @@
 
 void stop_sound() {
        if(mix_ok) {
-               for (int i = 0; i < 15; i++)
-                       Mix_HaltChannel(i);
+               {
+                       for (int i = 0; i < 15; i++)
+                               Mix_HaltChannel(i);
+               }
 
                std::map<std::string,Mix_Chunk*>::iterator i;
                for(i = sound_cache.begin(); i != sound_cache.end(); ++i)




Related Messages


Powered by MHonArc, Updated Thu Sep 07 12:20:28 2006