From a25715a29b0587ae6795eef63a575172e2cb971d Mon Sep 17 00:00:00 2001 From: Ľubomír Remák Date: Sat, 4 Aug 2018 16:57:41 +0200 Subject: MUTATIONOFJB: Fix code formatting issues (with astyle). --- engines/mutationofjb/animationdecoder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/mutationofjb/animationdecoder.cpp') diff --git a/engines/mutationofjb/animationdecoder.cpp b/engines/mutationofjb/animationdecoder.cpp index 81323858ee..712cb42c97 100644 --- a/engines/mutationofjb/animationdecoder.cpp +++ b/engines/mutationofjb/animationdecoder.cpp @@ -114,7 +114,7 @@ void AnimationDecoder::loadPalette(Common::SeekableReadStream &file) { copyCount = PALETTE_COLORS; } - while(packets--) { + while (packets--) { file.read(_palette + skipCount * 3, copyCount * 3); for (int j = skipCount * 3; j < (skipCount + copyCount) * 3; ++j) { @@ -145,7 +145,7 @@ void AnimationDecoder::loadFullFrame(EncryptedFile &file, uint32 size) { // RLE - Copy color n times. uint8 color = file.readByte(); readBytes++; - while(n--) { + while (n--) { *ptr++ = color; } } else { -- cgit v1.2.3