Skip to content

Commit

Permalink
SCI: Code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bluegr committed Sep 26, 2011
1 parent 8fef99f commit 43fb9d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engines/sci/graphics/view.cpp
Expand Up @@ -471,7 +471,8 @@ void unpackCelData(byte *inBuffer, byte *celBitmap, byte clearColor, int pixelCo
curByte = *rlePtr++;
if (curByte & 0xC0) { // fill with color
runLength = curByte >> 6;
memset(outPtr + pixelNr, curByte & 0x3F, MIN<uint16>(runLength, pixelCount - pixelNr));
curByte = curByte & 0x3F;
memset(outPtr + pixelNr, curByte, MIN<uint16>(runLength, pixelCount - pixelNr));
} else { // skip the next pixels (transparency)
runLength = curByte & 0x3F;
}
Expand Down

0 comments on commit 43fb9d3

Please sign in to comment.