changeset 3023:c56c51086ff2

Add additional set of braces to clarify nested if statements.
author Tony Vroon <chainsaw@gentoo.org>
date Thu, 09 Apr 2009 23:36:49 +0100
parents bc94a0cca4f5
children 965c0df4ae84
files src/adplug/core/bmf.cxx
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/adplug/core/bmf.cxx	Thu Apr 09 23:05:29 2009 +0100
+++ b/src/adplug/core/bmf.cxx	Thu Apr 09 23:36:49 2009 +0100
@@ -262,6 +262,7 @@
 {
   for (int i = 0; i < 9; i++)
     if (bmf.channel[i].stream_position != 0xFFFF)
+    {
       if (bmf.channel[i].delay)
         bmf.channel[i].delay--;
       else
@@ -391,6 +392,7 @@
         }                       // if (pos != 0xFFFF)
 
       }                         // if (!bmf.channel[i].delay)
+    }                     // if (bmf.channel[i].stream_position != 0xFFFF)
 
   // is module loop ?
   if (!bmf.active_streams)
@@ -565,6 +567,7 @@
         /* 1.2 */
 
         if (bmf.version == BMF1_2)
+	{
           if (*stream == 0x01)
           {
             // 0x01: Set Modulator Volume -> 0x01
@@ -604,7 +607,8 @@
             bmf.streams[channel][pos].volume = *(stream + 1) + 1;
 
             stream += 2;
-          }                     // if (bmf.version == BMF1_2)
+          }
+       }                     // if (bmf.version == BMF1_2)
 
       }                         // if ((0x20 <= *stream) && (*stream <= 0x3F))