From 35c4aec93f3445b37a4ef8f8a5c45949cd3fa9bd Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 11 Mar 2009 16:13:28 +0000 Subject: Formatting. svn-id: r39330 --- engines/sci/scicore/decompressor.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'engines') diff --git a/engines/sci/scicore/decompressor.cpp b/engines/sci/scicore/decompressor.cpp index 2214265e40..a68ba6a6f8 100644 --- a/engines/sci/scicore/decompressor.cpp +++ b/engines/sci/scicore/decompressor.cpp @@ -90,7 +90,7 @@ uint32 Decompressor::getBits(int n) { } byte Decompressor::getByte() { - return getBits(8); + return getBits(8); } void Decompressor::putByte(byte b) { @@ -267,15 +267,15 @@ void DecompressorComp3::decodeRLE(Common::ReadStream *src, Common::WriteStream * dest->writeByte(nextbyte); pos ++; switch (nextbyte & 0xC0) { - case 0x40 : - case 0x00 : + case 0x40: + case 0x00: dest->write(pixeldata, nextbyte); pixeldata += nextbyte; pos += nextbyte; break; - case 0xC0 : + case 0xC0: break; - case 0x80 : + case 0x80: dest->writeByte(*pixeldata++); break; } @@ -294,16 +294,16 @@ void DecompressorComp3::decode_rle(byte **rledata, byte **pixeldata, byte *outbu *ob++ = nextbyte; pos++; switch (nextbyte & 0xC0) { - case 0x40 : - case 0x00 : + case 0x40: + case 0x00: memcpy(ob, pd, nextbyte); pd += nextbyte; ob += nextbyte; pos += nextbyte; break; - case 0xC0 : + case 0xC0: break; - case 0x80 : + case 0x80: nextbyte = *pd++; *ob++ = nextbyte; pos++; @@ -332,13 +332,13 @@ int DecompressorComp3::rle_size(byte *rledata, int dsize) { size++; switch (nextbyte & 0xC0) { - case 0x40 : - case 0x00 : + case 0x40: + case 0x00: pos += nextbyte; break; - case 0xC0 : + case 0xC0: break; - case 0x80 : + case 0x80: pos++; break; } -- cgit v1.2.3