[Scummvm-cvs-logs] scummvm master -> e454788a2340fc8d500c78670f52fe2582014876
lordhoto
lordhoto at gmail.com
Fri Jan 6 16:01:12 CET 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
e454788a23 GRAPHICS: Whops. Fix misformatting introduced with 243de59.
Commit: e454788a2340fc8d500c78670f52fe2582014876
https://github.com/scummvm/scummvm/commit/e454788a2340fc8d500c78670f52fe2582014876
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2012-01-06T06:59:16-08:00
Commit Message:
GRAPHICS: Whops. Fix misformatting introduced with 243de59.
Changed paths:
graphics/jpeg.cpp
diff --git a/graphics/jpeg.cpp b/graphics/jpeg.cpp
index de5f5b3..8809477 100644
--- a/graphics/jpeg.cpp
+++ b/graphics/jpeg.cpp
@@ -655,7 +655,7 @@ int16 JPEG::readSignedBits(uint8 numBits) {
// Extend sign bits (PAG109)
if (!(ret >> (numBits - 1))) {
- uint16 tmp = ((uint16) - 1 << numBits) + 1;
+ uint16 tmp = ((uint16)-1 << numBits) + 1;
ret = ret + tmp;
}
return ret;
More information about the Scummvm-git-logs
mailing list