]> granicus.if.org Git - taglib/commitdiff
code formatting fixes
authorMathias Panzenböck <grosser.meister.morti@gmx.net>
Mon, 13 Jun 2011 23:18:38 +0000 (01:18 +0200)
committerMathias Panzenböck <grosser.meister.morti@gmx.net>
Mon, 13 Jun 2011 23:18:38 +0000 (01:18 +0200)
taglib/s3m/s3mfile.cpp
taglib/xm/xmfile.cpp

index 813a5a226ce423878316543c3c376c0db54eb436..e8a20f6c6a97a28dd15fcd09f9b07f461d3e0df0 100644 (file)
@@ -124,7 +124,7 @@ void S3M::File::read(bool)
   for(int i = 0; i < 32; ++ i)
   {
     READ_BYTE_AS(terminator);
-    if (terminator != 0xff) ++ channels;
+    if(terminator != 0xff) ++ channels;
   }
   d->properties.setChannels(channels);
 
index fc31ff43ad3301135d307977a1032e926fec9029..44219f692ca19bab671ce70aaccb4975b4fd9c40 100644 (file)
@@ -145,7 +145,7 @@ void XM::File::read(bool)
           return;
         }
 
-        if (instrumentSize >= (4+22+1+2))
+        if(instrumentSize >= (4+22+1+2))
         {
           if(!readU16L(sampleCount))
           {
@@ -158,7 +158,7 @@ void XM::File::read(bool)
 
     ulong sumSampleLength = 0;
     ulong sampleHeaderSize = 0;
-    if (sampleCount > 0)
+    if(sampleCount > 0)
     {
       if(!readU32L(sampleHeaderSize))
       {
@@ -169,7 +169,7 @@ void XM::File::read(bool)
       seek(pos + instrumentSize);
 
       long sampleheaderPos = tell();
-      for (ushort j = 0; j < sampleCount; ++ j)
+      for(ushort j = 0; j < sampleCount; ++ j)
       {
         seek(sampleheaderPos + sampleHeaderSize * j);
         READ_U32L_AS(length);