diff options
author | Torbjörn Andersson | 2016-07-11 05:43:24 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2016-07-11 05:43:24 +0200 |
commit | 11ec5ad5a3a3b4c19be4903d8860085d50cdd5da (patch) | |
tree | 931481e7c01e6094589577b31e70f1087e2fab8e /graphics | |
parent | 6eabc887e1affdeee9dbb8d8012875db7fb2c753 (diff) | |
download | scummvm-rg350-11ec5ad5a3a3b4c19be4903d8860085d50cdd5da.tar.gz scummvm-rg350-11ec5ad5a3a3b4c19be4903d8860085d50cdd5da.tar.bz2 scummvm-rg350-11ec5ad5a3a3b4c19be4903d8860085d50cdd5da.zip |
GRAPHICS: Fix copy/paste error in blitAlphaBitmapClip() (CID 1357410)
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 0e5da69a2b..fc741f6e77 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -917,7 +917,7 @@ blitAlphaBitmapClip(const Graphics::Surface *source, const Common::Rect &r, cons y = clipping.top; } if (usedW > clipping.width()) usedW = clipping.width(); - if (usedH > clipping.width()) usedH = clipping.height(); + if (usedH > clipping.height()) usedH = clipping.height(); PixelType *dst_ptr = (PixelType *)_activeSurface->getBasePtr(x, y); const PixelType *src_ptr = (const PixelType *)source->getBasePtr(offsetX, offsetY); |