From: Mathias Panzenböck Date: Mon, 13 Jun 2011 23:18:38 +0000 (+0200) Subject: code formatting fixes X-Git-Tag: v1.8beta~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b2bb4af34f7ee6dac3d479a7d1b2e38c9992428;p=taglib code formatting fixes --- diff --git a/taglib/s3m/s3mfile.cpp b/taglib/s3m/s3mfile.cpp index 813a5a22..e8a20f6c 100644 --- a/taglib/s3m/s3mfile.cpp +++ b/taglib/s3m/s3mfile.cpp @@ -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); diff --git a/taglib/xm/xmfile.cpp b/taglib/xm/xmfile.cpp index fc31ff43..44219f69 100644 --- a/taglib/xm/xmfile.cpp +++ b/taglib/xm/xmfile.cpp @@ -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);