diff options
-rw-r--r-- | scumm/gfx.cpp | 2 |
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 |