aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-10-31 18:12:19 +0000
committerTorbjörn Andersson2009-10-31 18:12:19 +0000
commitd5421d93d4b1a23aaaf552c60d334857714d377b (patch)
treedcd13e90d85025c30bccc56b8e3bf72b946ff7d6
parentcda9b293fdc9310f788adb51ff8372448ca58237 (diff)
downloadscummvm-rg350-d5421d93d4b1a23aaaf552c60d334857714d377b.tar.gz
scummvm-rg350-d5421d93d4b1a23aaaf552c60d334857714d377b.tar.bz2
scummvm-rg350-d5421d93d4b1a23aaaf552c60d334857714d377b.zip
Silenced GCC warning.
svn-id: r45570
-rw-r--r--engines/sci/gui/gui_view.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_view.cpp b/engines/sci/gui/gui_view.cpp
index a5bc5ff648..10dce2314c 100644
--- a/engines/sci/gui/gui_view.cpp
+++ b/engines/sci/gui/gui_view.cpp
@@ -476,11 +476,12 @@ void SciGuiView::draw(Common::Rect rect, Common::Rect clipRect, Common::Rect cli
for (y = clipRectTranslated.top; y < clipRectTranslated.top + height; y++, bitmap += celWidth) {
for (x = 0; x < width; x++) {
color = bitmap[x];
- if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y))
+ if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y)) {
if (origHeight == -1)
_screen->putPixel(clipRectTranslated.left + x, y, drawMask, palette->mapping[color], priority, 0);
else
_screen->putPixelOnDisplay(clipRectTranslated.left + x, y, palette->mapping[color]);
+ }
}
}
} else {