From 11ec5ad5a3a3b4c19be4903d8860085d50cdd5da Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 11 Jul 2016 05:43:24 +0200 Subject: GRAPHICS: Fix copy/paste error in blitAlphaBitmapClip() (CID 1357410) --- graphics/VectorRendererSpec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics') 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); -- cgit v1.2.3