From 9b2bb4af34f7ee6dac3d479a7d1b2e38c9992428 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Panzenb=C3=B6ck?= Date: Tue, 14 Jun 2011 01:18:38 +0200 Subject: [PATCH] code formatting fixes --- taglib/s3m/s3mfile.cpp | 2 +- taglib/xm/xmfile.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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);