diff options
author | Torbjörn Andersson | 2004-09-26 12:49:43 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-09-26 12:49:43 +0000 |
commit | e42e428de861c9635cfaf84221b4f895e5e08e46 (patch) | |
tree | 2a6099c2cb96f047e517c422b1df95223c306235 | |
parent | 175264c36aaa7470e4a08cb6d13d702919ccb2b1 (diff) | |
download | scummvm-rg350-e42e428de861c9635cfaf84221b4f895e5e08e46.tar.gz scummvm-rg350-e42e428de861c9635cfaf84221b4f895e5e08e46.tar.bz2 scummvm-rg350-e42e428de861c9635cfaf84221b4f895e5e08e46.zip |
I think this fixes bug #1034519
svn-id: r15287
-rw-r--r-- | scumm/gfx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index ce648fce7d..3cc3efabeb 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -458,8 +458,8 @@ void Gdi::drawStripToScreen(VirtScreen *vs, int x, int width, int top, int botto assert(_textSurface.pixels); assert(_compositeBuf); - if (width > vs->w); - width = vs->w; + if (width > vs->w - x); + width = vs->w - x; // Clip to the visible part of the scene if (top < _vm->_screenTop) |