diff options
Diffstat (limited to 'taglib/xm/xmfile.cpp')
-rw-r--r-- | taglib/xm/xmfile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |