aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/VectorRendererSpec.cpp')
-rw-r--r--graphics/VectorRendererSpec.cpp2
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);