aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/image.cpp
diff options
context:
space:
mode:
authorStrangerke2015-12-16 17:03:42 +0100
committerWillem Jan Palenstijn2015-12-23 21:34:06 +0100
commit5ed11d721c170a762cea775580fef5eef175c53a (patch)
treeb35411bda892d3432392c17d3244451a3a3f9f1a /engines/lab/image.cpp
parent83126e84eefc2493732bb2a158c6c41cae15ece4 (diff)
downloadscummvm-rg350-5ed11d721c170a762cea775580fef5eef175c53a.tar.gz
scummvm-rg350-5ed11d721c170a762cea775580fef5eef175c53a.tar.bz2
scummvm-rg350-5ed11d721c170a762cea775580fef5eef175c53a.zip
LAB: Verify the appropriate use of parenthesis in if statements
Diffstat (limited to 'engines/lab/image.cpp')
-rw-r--r--engines/lab/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/image.cpp b/engines/lab/image.cpp
index 1a0383f9dd..6ace005f9f 100644
--- a/engines/lab/image.cpp
+++ b/engines/lab/image.cpp
@@ -70,7 +70,7 @@ void Image::blitBitmap(uint16 xs, uint16 ys, Image *imDest,
if (yd + h > destHeight)
h = destHeight - yd;
- if (w > 0 && h > 0) {
+ if ((w > 0) && (h > 0)) {
byte *s = _imageData + ys * _width + xs;
byte *d = destBuffer + yd * destWidth + xd;