aboutsummaryrefslogtreecommitdiff
path: root/scumm/gfx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/gfx.cpp')
-rw-r--r--scumm/gfx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp
index dc6a302f47..05c8650ad1 100644
--- a/scumm/gfx.cpp
+++ b/scumm/gfx.cpp
@@ -456,7 +456,7 @@ void Gdi::drawStripToScreen(VirtScreen *vs, int x, int width, int top, int botto
assert(_textSurface.pixels);
assert(_compositeBuf);
- if (width > vs->w - x);
+ if (width > vs->w - x)
width = vs->w - x;
// Clip to the visible part of the scene