aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/base/gfx/osystem/render_ticket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/render_ticket.cpp b/engines/wintermute/base/gfx/osystem/render_ticket.cpp
index 0fb68bc819..1cd35e3b04 100644
--- a/engines/wintermute/base/gfx/osystem/render_ticket.cpp
+++ b/engines/wintermute/base/gfx/osystem/render_ticket.cpp
@@ -168,7 +168,7 @@ void RenderTicket::drawToSurface(Graphics::Surface *_targetSurface, Common::Rect
subRect.left = x;
subRect.top = y;
subRect.setWidth(w);
- subRect.setHeight(w);
+ subRect.setHeight(h);
if (subRect.intersects(*clipRect)) {
subRect.clip(*clipRect);