diff options
author | Torbjörn Andersson | 2016-07-11 05:41:04 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2016-07-11 05:41:04 +0200 |
commit | 6eabc887e1affdeee9dbb8d8012875db7fb2c753 (patch) | |
tree | ffb194324ce1d97abad38ba65b7520793945e54e /graphics | |
parent | eeafe230b9c23cb8a42ec9b2338ff61cc933b01a (diff) | |
download | scummvm-rg350-6eabc887e1affdeee9dbb8d8012875db7fb2c753.tar.gz scummvm-rg350-6eabc887e1affdeee9dbb8d8012875db7fb2c753.tar.bz2 scummvm-rg350-6eabc887e1affdeee9dbb8d8012875db7fb2c753.zip |
GRAPHICS: Fix copy/paste error in blitSurfaceClip (CID 1357411)
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/VectorRendererSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index b2314b0340..0e5da69a2b 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -829,7 +829,7 @@ blitSubSurfaceClip(const Graphics::Surface *source, const Common::Rect &r, const y = clipping.top; } if (usedW > clipping.width()) usedW = clipping.width(); - if (usedH > clipping.width()) usedH = clipping.height(); + if (usedH > clipping.height()) usedH = clipping.height(); byte *dst_ptr = (byte *)_activeSurface->getBasePtr(x, y); const byte *src_ptr = (const byte *)source->getBasePtr(offsetX, offsetY); |