aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-10 22:30:38 +0000
committerJohannes Schickel2009-03-10 22:30:38 +0000
commite7d806188fe504b35bb8ddc2de0720d49935858f (patch)
tree85cfa95082a145f19dd886f1708adf2f27989426
parent91ce0ce12356eb49febddb381fc1914a201baacb (diff)
downloadscummvm-rg350-e7d806188fe504b35bb8ddc2de0720d49935858f.tar.gz
scummvm-rg350-e7d806188fe504b35bb8ddc2de0720d49935858f.tar.bz2
scummvm-rg350-e7d806188fe504b35bb8ddc2de0720d49935858f.zip
Yet another few tiny formatting fixes.
svn-id: r39320
-rw-r--r--engines/sci/scicore/decompressor.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/sci/scicore/decompressor.cpp b/engines/sci/scicore/decompressor.cpp
index 451f186531..5afa5dfe34 100644
--- a/engines/sci/scicore/decompressor.cpp
+++ b/engines/sci/scicore/decompressor.cpp
@@ -62,7 +62,7 @@ void Decompressor::fetchBits() {
while (_nBits <= 24) {
_dwBits |= ((uint32)_src->readByte()) << (24-_nBits);
_nBits += 8;
- _dwRead ++;
+ _dwRead++;
}
}
@@ -284,7 +284,7 @@ void DecompressorComp3::decode_rle(byte **rledata, byte **pixeldata, byte *outbu
while (pos < size) {
nextbyte = *(rd++);
*(ob++) = nextbyte;
- pos ++;
+ pos++;
switch (nextbyte&0xC0) {
case 0x40 :
case 0x00 :
@@ -298,7 +298,7 @@ void DecompressorComp3::decode_rle(byte **rledata, byte **pixeldata, byte *outbu
case 0x80 :
nextbyte = *(pd++);
*(ob++) = nextbyte;
- pos ++;
+ pos++;
break;
}
}
@@ -320,8 +320,8 @@ int DecompressorComp3::rle_size(byte *rledata, int dsize) {
while (pos < dsize) {
nextbyte = *(rledata++);
- pos ++;
- size ++;
+ pos++;
+ size++;
switch (nextbyte & 0xC0) {
case 0x40 :