aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure/image.cpp
diff options
context:
space:
mode:
authorBorja Lorente2016-08-15 11:28:30 +0200
committerBorja Lorente2016-08-19 16:30:18 +0200
commit09fe00eb2a8f11e274901a4af4e19ec5275ff7e8 (patch)
treecd3a1419f3d2410f3e6e65595445acdeb1b3eb26 /engines/macventure/image.cpp
parentfd01961d55e5e749adea193cdadd184aefcd5887 (diff)
downloadscummvm-rg350-09fe00eb2a8f11e274901a4af4e19ec5275ff7e8.tar.gz
scummvm-rg350-09fe00eb2a8f11e274901a4af4e19ec5275ff7e8.tar.bz2
scummvm-rg350-09fe00eb2a8f11e274901a4af4e19ec5275ff7e8.zip
MACVENTURE: Fix indentation and braces
Diffstat (limited to 'engines/macventure/image.cpp')
-rw-r--r--engines/macventure/image.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/macventure/image.cpp b/engines/macventure/image.cpp
index 812e2e3dad..1b0e59d565 100644
--- a/engines/macventure/image.cpp
+++ b/engines/macventure/image.cpp
@@ -122,8 +122,7 @@ void ImageAsset::decodePPIC(ObjID id, Common::Array<byte> &data, uint &bitHeight
data.push_back(0);
}
- switch (mode)
- {
+ switch (mode) {
case MacVenture::kPPIC0:
decodePPIC0(stream, data, bitHeight, bitWidth, rowBytes);
break;
@@ -279,8 +278,7 @@ void ImageAsset::decodeHuffGraphic(const PPICHuff & huff, Common::BitStream & st
for (uint y = 0; y < bitHeight; y++) {
uint16 v = 0;
if (flags & 2) {
- for (uint x = 0; x < rowBytes; x++)
- {
+ for (uint x = 0; x < rowBytes; x++) {
data[pos] ^= v;
v = data[pos];
pos++;