code formatting fixes

This commit is contained in:
Mathias Panzenböck 2011-06-14 01:18:38 +02:00
parent 54e9656474
commit 9b2bb4af34
2 changed files with 4 additions and 4 deletions

View 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);

View 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);